aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2011-07-21 13:03:20 -0400
committerPaul Gortmaker <paul.gortmaker@windriver.com>2011-10-31 19:32:13 -0400
commit39a0e33da0189c99ed3cea6945cda1bc9f4b7b83 (patch)
tree3503a8213edf62c7b5b20c06a38ed5a8208cde7b
parent51441d434f621c5c74470b36579ae7c9fb5b7139 (diff)
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>
-rw-r--r--arch/x86/lguest/boot.c1
-rw-r--r--drivers/lguest/lguest_device.c1
-rw-r--r--drivers/lguest/lguest_user.c1
3 files changed, 3 insertions, 0 deletions
diff --git a/arch/x86/lguest/boot.c b/arch/x86/lguest/boot.c
index f63da5ef217..cf4603ba866 100644
--- a/arch/x86/lguest/boot.c
+++ b/arch/x86/lguest/boot.c
@@ -56,6 +56,7 @@
56#include <linux/lguest_launcher.h> 56#include <linux/lguest_launcher.h>
57#include <linux/virtio_console.h> 57#include <linux/virtio_console.h>
58#include <linux/pm.h> 58#include <linux/pm.h>
59#include <linux/export.h>
59#include <asm/apic.h> 60#include <asm/apic.h>
60#include <asm/lguest.h> 61#include <asm/lguest.h>
61#include <asm/paravirt.h> 62#include <asm/paravirt.h>
diff --git a/drivers/lguest/lguest_device.c b/drivers/lguest/lguest_device.c
index 5289ffa2e50..0dc30ffde5a 100644
--- a/drivers/lguest/lguest_device.c
+++ b/drivers/lguest/lguest_device.c
@@ -15,6 +15,7 @@
15#include <linux/interrupt.h> 15#include <linux/interrupt.h>
16#include <linux/virtio_ring.h> 16#include <linux/virtio_ring.h>
17#include <linux/err.h> 17#include <linux/err.h>
18#include <linux/export.h>
18#include <linux/slab.h> 19#include <linux/slab.h>
19#include <asm/io.h> 20#include <asm/io.h>
20#include <asm/paravirt.h> 21#include <asm/paravirt.h>
diff --git a/drivers/lguest/lguest_user.c b/drivers/lguest/lguest_user.c
index f97e625241a..ff4a0bc9904 100644
--- a/drivers/lguest/lguest_user.c
+++ b/drivers/lguest/lguest_user.c
@@ -13,6 +13,7 @@
13#include <linux/eventfd.h> 13#include <linux/eventfd.h>
14#include <linux/file.h> 14#include <linux/file.h>
15#include <linux/slab.h> 15#include <linux/slab.h>
16#include <linux/export.h>
16#include "lg.h" 17#include "lg.h"
17 18
18/*L:056 19/*L:056