summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/lguest/lguest.c1
-rw-r--r--drivers/lguest/lguest_bus.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/lguest/lguest.c b/drivers/lguest/lguest.c
index 3ba337dde857..c9ca610f4996 100644
--- a/drivers/lguest/lguest.c
+++ b/drivers/lguest/lguest.c
@@ -87,7 +87,6 @@ struct lguest_data lguest_data = {
.noirq_end = (u32)lguest_noirq_end,
.blocked_interrupts = { 1 }, /* Block timer interrupts */
};
-struct lguest_device_desc *lguest_devices;
static cycle_t clock_base;
/*G:035 Notice the lazy_hcall() above, rather than hcall(). This is our first
diff --git a/drivers/lguest/lguest_bus.c b/drivers/lguest/lguest_bus.c
index 57329788f8a7..2e9a202be44e 100644
--- a/drivers/lguest/lguest_bus.c
+++ b/drivers/lguest/lguest_bus.c
@@ -7,6 +7,8 @@
#include <asm/io.h>
#include <asm/paravirt.h>
+struct lguest_device_desc *lguest_devices;
+
static ssize_t type_show(struct device *_dev,
struct device_attribute *attr, char *buf)
{