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 /include/asm-mips/processor.h | |
| 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 'include/asm-mips/processor.h')
| -rw-r--r-- | include/asm-mips/processor.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/include/asm-mips/processor.h b/include/asm-mips/processor.h index c08e0bf6e76c..33e8cc7c721d 100644 --- a/include/asm-mips/processor.h +++ b/include/asm-mips/processor.h @@ -135,12 +135,6 @@ extern unsigned int vced_count, vcei_count; /* * Bus types (default is ISA, but people can check others with these..) */ -#ifdef CONFIG_EISA -extern int EISA_bus; -#else -#define EISA_bus (0) -#endif - #define MCA_bus 0 #define MCA_bus__is_a_macro /* for versions in ksyms.c */ |
