]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
lguest: add export.h to lguest_device.c for THIS_MODULE
authorPaul Gortmaker <paul.gortmaker@windriver.com>
Thu, 21 Jul 2011 17:03:20 +0000 (13:03 -0400)
committerPaul Gortmaker <paul.gortmaker@windriver.com>
Fri, 26 Aug 2011 15:52:06 +0000 (11:52 -0400)
We need this in advance of the module.h cleanup, or we'll get:

  CC      drivers/lguest/lguest_device.o
drivers/lguest/lguest_device.c: In function ‘lguest_devices_init’:
drivers/lguest/lguest_device.c:490: error: ‘THIS_MODULE’ undeclared (first use in this function)

Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
drivers/lguest/lguest_device.c

index 5289ffa2e500c77ac3a2c0c1c5cddc1332a07b7b..0dc30ffde5ad7a8defc591c42a251bb9e59c35a9 100644 (file)
@@ -15,6 +15,7 @@
 #include <linux/interrupt.h>
 #include <linux/virtio_ring.h>
 #include <linux/err.h>
+#include <linux/export.h>
 #include <linux/slab.h>
 #include <asm/io.h>
 #include <asm/paravirt.h>