diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-17 18:46:32 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-17 18:46:32 -0400 |
commit | 1d850bd0b291efd1740b8d87ce025363436eb6dc (patch) | |
tree | e0bfb32a27b58074206ec02a455272054c899ca2 /arch/powerpc/kernel/setup_32.c | |
parent | 5d682e4407d8364c286650baafcccae54d4b7c89 (diff) |
ppc: remove ppc_ide_md
* Add special cases for pplus and prep to ide_default_{irq,io_base}()
(+ FIXMEs about the need to use IDE platform host driver instead).
* Remove no longer needed ppc_ide_md and struct ide_machdep_calls.
* Then remove <linux/ide.h> include from:
- arch/powerpc/kernel/setup_32.c
- arch/ppc/kernel/ppc_ksyms.c
- arch/ppc/kernel/setup.c
- arch/ppc/platforms/pplus.c
- arch/ppc/platforms/prep_setup.c
There should be no functional changes caused by this patch.
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'arch/powerpc/kernel/setup_32.c')
-rw-r--r-- | arch/powerpc/kernel/setup_32.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/arch/powerpc/kernel/setup_32.c b/arch/powerpc/kernel/setup_32.c index cd870a823d18..06d918d94dd1 100644 --- a/arch/powerpc/kernel/setup_32.c +++ b/arch/powerpc/kernel/setup_32.c | |||
@@ -10,9 +10,6 @@ | |||
10 | #include <linux/reboot.h> | 10 | #include <linux/reboot.h> |
11 | #include <linux/delay.h> | 11 | #include <linux/delay.h> |
12 | #include <linux/initrd.h> | 12 | #include <linux/initrd.h> |
13 | #if defined(CONFIG_IDE) || defined(CONFIG_IDE_MODULE) | ||
14 | #include <linux/ide.h> | ||
15 | #endif | ||
16 | #include <linux/tty.h> | 13 | #include <linux/tty.h> |
17 | #include <linux/bootmem.h> | 14 | #include <linux/bootmem.h> |
18 | #include <linux/seq_file.h> | 15 | #include <linux/seq_file.h> |
@@ -51,11 +48,6 @@ | |||
51 | 48 | ||
52 | extern void bootx_init(unsigned long r4, unsigned long phys); | 49 | extern void bootx_init(unsigned long r4, unsigned long phys); |
53 | 50 | ||
54 | #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE) | ||
55 | struct ide_machdep_calls ppc_ide_md; | ||
56 | EXPORT_SYMBOL(ppc_ide_md); | ||
57 | #endif | ||
58 | |||
59 | int boot_cpuid; | 51 | int boot_cpuid; |
60 | EXPORT_SYMBOL_GPL(boot_cpuid); | 52 | EXPORT_SYMBOL_GPL(boot_cpuid); |
61 | int boot_cpuid_phys; | 53 | int boot_cpuid_phys; |