From: Rusty Russell Date: Mon, 22 Oct 2007 00:56:24 +0000 (+1000) Subject: lguest_devices belongs in lguest_bus.c: it's not i386-specific. X-Git-Tag: v2.6.24-rc1~28^2~35 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=ebac52524df31e7c2fe13ca5bd3438907842f763;p=~shefty%2Frdma-dev.git lguest_devices belongs in lguest_bus.c: it's not i386-specific. Signed-off-by: Rusty Russell --- diff --git a/drivers/lguest/lguest.c b/drivers/lguest/lguest.c index 3ba337dde85..c9ca610f499 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 57329788f8a..2e9a202be44 100644 --- a/drivers/lguest/lguest_bus.c +++ b/drivers/lguest/lguest_bus.c @@ -7,6 +7,8 @@ #include #include +struct lguest_device_desc *lguest_devices; + static ssize_t type_show(struct device *_dev, struct device_attribute *attr, char *buf) {