diff options
author | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-03 14:42:36 -0400 |
---|---|---|
committer | Alexey Dobriyan <adobriyan@gmail.com> | 2008-10-23 06:24:03 -0400 |
commit | 813dcf7a6e642feb1ea566b96ce2912249d2b57d (patch) | |
tree | 80eb42f9c8d5673f35d9db8786dc251201e48d6f /arch/m68k/bvme6000 | |
parent | b457d151613873ea035de0c7348abc3d4b6efd34 (diff) |
proc: move /proc/hardware to m68k-specific code
Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com>
Diffstat (limited to 'arch/m68k/bvme6000')
-rw-r--r-- | arch/m68k/bvme6000/config.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/arch/m68k/bvme6000/config.c b/arch/m68k/bvme6000/config.c index 65c9204ab9ac..c072595928c0 100644 --- a/arch/m68k/bvme6000/config.c +++ b/arch/m68k/bvme6000/config.c | |||
@@ -38,7 +38,6 @@ | |||
38 | #include <asm/bvme6000hw.h> | 38 | #include <asm/bvme6000hw.h> |
39 | 39 | ||
40 | static void bvme6000_get_model(char *model); | 40 | static void bvme6000_get_model(char *model); |
41 | static int bvme6000_get_hardware_list(char *buffer); | ||
42 | extern void bvme6000_sched_init(irq_handler_t handler); | 41 | extern void bvme6000_sched_init(irq_handler_t handler); |
43 | extern unsigned long bvme6000_gettimeoffset (void); | 42 | extern unsigned long bvme6000_gettimeoffset (void); |
44 | extern int bvme6000_hwclk (int, struct rtc_time *); | 43 | extern int bvme6000_hwclk (int, struct rtc_time *); |
@@ -82,15 +81,6 @@ static void bvme6000_get_model(char *model) | |||
82 | sprintf(model, "BVME%d000", m68k_cputype == CPU_68060 ? 6 : 4); | 81 | sprintf(model, "BVME%d000", m68k_cputype == CPU_68060 ? 6 : 4); |
83 | } | 82 | } |
84 | 83 | ||
85 | |||
86 | /* No hardware options on BVME6000? */ | ||
87 | |||
88 | static int bvme6000_get_hardware_list(char *buffer) | ||
89 | { | ||
90 | *buffer = '\0'; | ||
91 | return 0; | ||
92 | } | ||
93 | |||
94 | /* | 84 | /* |
95 | * This function is called during kernel startup to initialize | 85 | * This function is called during kernel startup to initialize |
96 | * the bvme6000 IRQ handling routines. | 86 | * the bvme6000 IRQ handling routines. |
@@ -127,7 +117,6 @@ void __init config_bvme6000(void) | |||
127 | mach_set_clock_mmss = bvme6000_set_clock_mmss; | 117 | mach_set_clock_mmss = bvme6000_set_clock_mmss; |
128 | mach_reset = bvme6000_reset; | 118 | mach_reset = bvme6000_reset; |
129 | mach_get_model = bvme6000_get_model; | 119 | mach_get_model = bvme6000_get_model; |
130 | mach_get_hardware_list = bvme6000_get_hardware_list; | ||
131 | 120 | ||
132 | printk ("Board is %sconfigured as a System Controller\n", | 121 | printk ("Board is %sconfigured as a System Controller\n", |
133 | *config_reg_ptr & BVME_CONFIG_SW1 ? "" : "not "); | 122 | *config_reg_ptr & BVME_CONFIG_SW1 ? "" : "not "); |