summaryrefslogtreecommitdiffstats
path: root/drivers/lguest/lguest_user.c
diff options
context:
space:
mode:
authorPaul Gortmaker2011-07-21 19:03:20 +0200
committerPaul Gortmaker2011-11-01 00:32:13 +0100
commit39a0e33da0189c99ed3cea6945cda1bc9f4b7b83 (patch)
tree3503a8213edf62c7b5b20c06a38ed5a8208cde7b /drivers/lguest/lguest_user.c
parentkvm: iommu.c file requires the full module.h present. (diff)
downloadkernel-qcow2-linux-39a0e33da0189c99ed3cea6945cda1bc9f4b7b83.tar.gz
kernel-qcow2-linux-39a0e33da0189c99ed3cea6945cda1bc9f4b7b83.tar.xz
kernel-qcow2-linux-39a0e33da0189c99ed3cea6945cda1bc9f4b7b83.zip
lguest: add export.h to lguest files for THIS_MODULE/EXPORT_SYMBOL
We need this in advance of the module.h cleanup, or we'll get compile errors like this: 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>
Diffstat (limited to 'drivers/lguest/lguest_user.c')
-rw-r--r--drivers/lguest/lguest_user.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/lguest/lguest_user.c b/drivers/lguest/lguest_user.c
index f97e625241ad..ff4a0bc9904d 100644
--- a/drivers/lguest/lguest_user.c
+++ b/drivers/lguest/lguest_user.c
@@ -13,6 +13,7 @@
#include <linux/eventfd.h>
#include <linux/file.h>
#include <linux/slab.h>
+#include <linux/export.h>
#include "lg.h"
/*L:056