]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
lguest_devices belongs in lguest_bus.c: it's not i386-specific.
authorRusty Russell <rusty@rustcorp.com.au>
Mon, 22 Oct 2007 00:56:24 +0000 (10:56 +1000)
committerRusty Russell <rusty@rustcorp.com.au>
Tue, 23 Oct 2007 05:49:49 +0000 (15:49 +1000)
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/lguest/lguest.c
drivers/lguest/lguest_bus.c

index 3ba337dde8575e1570ed9f0ee77d0c9170247efc..c9ca610f4996ff66cfe3b48406d417c10593c317 100644 (file)
@@ -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
index 57329788f8a7235f35ba98fde5f31007bb275769..2e9a202be44ea8336b58d37e8b2ca5c4bd5d3564 100644 (file)
@@ -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)
 {