From 539f7d3ac27f03217de750b5e9ccc9feea87590f Mon Sep 17 00:00:00 2001 From: "Wojciech A. Koszek" Date: Mon, 18 Jan 2010 22:59:53 +0000 Subject: [PATCH] Small fix for making this KLD to compile. --- share/examples/kld/firmware/fwconsumer/fw_consumer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/share/examples/kld/firmware/fwconsumer/fw_consumer.c b/share/examples/kld/firmware/fwconsumer/fw_consumer.c index 97ab99aa0f7a..6a51737846e9 100644 --- a/share/examples/kld/firmware/fwconsumer/fw_consumer.c +++ b/share/examples/kld/firmware/fwconsumer/fw_consumer.c @@ -36,7 +36,7 @@ __FBSDID("$FreeBSD$"); #include #include -static struct firmware *fp; +static const struct firmware *fp; static int fw_consumer_modevent(module_t mod, int type, void *unused)