summaryrefslogtreecommitdiff
path: root/arch/parisc/kernel/setup.c
diff options
context:
space:
mode:
authorMatthew Wilcox <willy@debian.org>2003-09-20 20:20:02 -0700
committerLinus Torvalds <torvalds@home.osdl.org>2003-09-20 20:20:02 -0700
commit972b4a74dcacecc9ae50fa46daa10d4efcaef4d1 (patch)
tree7df8c5dc5563327e164529b96f17b0d3a78e7361 /arch/parisc/kernel/setup.c
parent87a6ea5a476f8add51faa6ac422be9b6875f4e9d (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 'arch/parisc/kernel/setup.c')
-rw-r--r--arch/parisc/kernel/setup.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/arch/parisc/kernel/setup.c b/arch/parisc/kernel/setup.c
index 5dde472c50fc..42f74c99072b 100644
--- a/arch/parisc/kernel/setup.c
+++ b/arch/parisc/kernel/setup.c
@@ -52,10 +52,6 @@ char command_line[COMMAND_LINE_SIZE];
struct proc_dir_entry * proc_runway_root = NULL;
struct proc_dir_entry * proc_gsc_root = NULL;
-#ifdef CONFIG_EISA
-int EISA_bus; /* This has to go somewhere in architecture specific code. */
-#endif
-
void __init setup_cmdline(char **cmdline_p)
{
extern unsigned int boot_args[];