diff options
| author | Matthew Wilcox <willy@debian.org> | 2003-09-20 20:20:02 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-09-20 20:20:02 -0700 |
| commit | 972b4a74dcacecc9ae50fa46daa10d4efcaef4d1 (patch) | |
| tree | 7df8c5dc5563327e164529b96f17b0d3a78e7361 /drivers/eisa | |
| parent | 87a6ea5a476f8add51faa6ac422be9b6875f4e9d (diff) | |
[PATCH] Move EISA_bus
When I change the setting of CONFIG_EISA, everything rebuilds. This is
because EISA_bus is declared in <asm/processor.h> which is implicitly
included by just about everything. This is a silly place to declare it,
so this patch moves it to include/linux/eisa.h.
While I'm at it, I also move the variable definition to
drivers/eisa/eisa-bus.c. The rest of this patch is fixing up the fallout
from having to include <linux/eisa.h> if you use EISA_bus.
Diffstat (limited to 'drivers/eisa')
| -rw-r--r-- | drivers/eisa/eisa-bus.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/eisa/eisa-bus.c b/drivers/eisa/eisa-bus.c index 6f1b766fddcf..055872a85889 100644 --- a/drivers/eisa/eisa-bus.c +++ b/drivers/eisa/eisa-bus.c @@ -427,6 +427,11 @@ module_param(disable_dev, intarray, 0444); postcore_initcall (eisa_init); +#ifndef CONFIG_EISA_ALWAYS +int EISA_bus; +EXPORT_SYMBOL(EISA_bus); +#endif + EXPORT_SYMBOL (eisa_bus_type); EXPORT_SYMBOL (eisa_driver_register); EXPORT_SYMBOL (eisa_driver_unregister); |
