From 972b4a74dcacecc9ae50fa46daa10d4efcaef4d1 Mon Sep 17 00:00:00 2001 From: Matthew Wilcox Date: Sat, 20 Sep 2003 20:20:02 -0700 Subject: [PATCH] Move EISA_bus When I change the setting of CONFIG_EISA, everything rebuilds. This is because EISA_bus is declared in 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 if you use EISA_bus. --- include/asm-mips/processor.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/asm-mips/processor.h') 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 */ -- cgit v1.2.3