From 6bbfdedac1a71d740d27db5aad963f26cf4260ad Mon Sep 17 00:00:00 2001 From: wkoszek 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)