diff options
author | Rusty Russell <rusty@rustcorp.com.au> | 2007-10-21 20:56:24 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2007-10-23 01:49:49 -0400 |
commit | ebac52524df31e7c2fe13ca5bd3438907842f763 (patch) | |
tree | 42215a0910d06cfdb522a14ec5d9157656a071ab | |
parent | b45d8cb054d7677d75176ae22a584fd84e4650e9 (diff) |
lguest_devices belongs in lguest_bus.c: it's not i386-specific.
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
-rw-r--r-- | drivers/lguest/lguest.c | 1 | ||||
-rw-r--r-- | drivers/lguest/lguest_bus.c | 2 |
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 = { | |||
87 | .noirq_end = (u32)lguest_noirq_end, | 87 | .noirq_end = (u32)lguest_noirq_end, |
88 | .blocked_interrupts = { 1 }, /* Block timer interrupts */ | 88 | .blocked_interrupts = { 1 }, /* Block timer interrupts */ |
89 | }; | 89 | }; |
90 | struct lguest_device_desc *lguest_devices; | ||
91 | static cycle_t clock_base; | 90 | static cycle_t clock_base; |
92 | 91 | ||
93 | /*G:035 Notice the lazy_hcall() above, rather than hcall(). This is our first | 92 | /*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 @@ | |||
7 | #include <asm/io.h> | 7 | #include <asm/io.h> |
8 | #include <asm/paravirt.h> | 8 | #include <asm/paravirt.h> |
9 | 9 | ||
10 | struct lguest_device_desc *lguest_devices; | ||
11 | |||
10 | static ssize_t type_show(struct device *_dev, | 12 | static ssize_t type_show(struct device *_dev, |
11 | struct device_attribute *attr, char *buf) | 13 | struct device_attribute *attr, char *buf) |
12 | { | 14 | { |