summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorwkoszek <wkoszek@FreeBSD.org>2010-01-18 22:59:53 +0000
committerwkoszek <wkoszek@FreeBSD.org>2010-01-18 22:59:53 +0000
commit6bbfdedac1a71d740d27db5aad963f26cf4260ad (patch)
treef97abe0baa7d7b6ccf4e4cfeffa92a7283a10059 /share
parent260e3efd2e45228ab1445c7e7eade0f2679a538e (diff)
downloadFreeBSD-src-6bbfdedac1a71d740d27db5aad963f26cf4260ad.zip
FreeBSD-src-6bbfdedac1a71d740d27db5aad963f26cf4260ad.tar.gz
Small fix for making this KLD to compile.
Diffstat (limited to 'share')
-rw-r--r--share/examples/kld/firmware/fwconsumer/fw_consumer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/examples/kld/firmware/fwconsumer/fw_consumer.c b/share/examples/kld/firmware/fwconsumer/fw_consumer.c
index 97ab99a..6a51737 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 <sys/proc.h>
#include <sys/module.h>
-static struct firmware *fp;
+static const struct firmware *fp;
static int
fw_consumer_modevent(module_t mod, int type, void *unused)
OpenPOWER on IntegriCloud