diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-17 18:46:28 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-04-17 18:46:28 -0400 |
commit | 3671e9a9ecb5090c38454cbf830a640f6c221ca8 (patch) | |
tree | 3be9a397c7793983f25db06c817ca7f2bd10c0a2 /arch/ppc | |
parent | af007ec6c9467c2a26f5f684cee52efa497280c4 (diff) |
ppc/hdpu: remove dead IDE code
Also remove now not needed <linux/ide.h> include.
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'arch/ppc')
-rw-r--r-- | arch/ppc/platforms/hdpu.c | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/arch/ppc/platforms/hdpu.c b/arch/ppc/platforms/hdpu.c index ca5de13712fd..904b518c152e 100644 --- a/arch/ppc/platforms/hdpu.c +++ b/arch/ppc/platforms/hdpu.c | |||
@@ -16,7 +16,6 @@ | |||
16 | #include <linux/pci.h> | 16 | #include <linux/pci.h> |
17 | #include <linux/delay.h> | 17 | #include <linux/delay.h> |
18 | #include <linux/irq.h> | 18 | #include <linux/irq.h> |
19 | #include <linux/ide.h> | ||
20 | #include <linux/seq_file.h> | 19 | #include <linux/seq_file.h> |
21 | #include <linux/platform_device.h> | 20 | #include <linux/platform_device.h> |
22 | 21 | ||
@@ -604,41 +603,6 @@ static void parse_bootinfo(unsigned long r3, | |||
604 | } | 603 | } |
605 | } | 604 | } |
606 | 605 | ||
607 | #if defined(CONFIG_BLK_DEV_IDE) || defined(CONFIG_BLK_DEV_IDE_MODULE) | ||
608 | static void | ||
609 | hdpu_ide_request_region(ide_ioreg_t from, unsigned int extent, const char *name) | ||
610 | { | ||
611 | request_region(from, extent, name); | ||
612 | return; | ||
613 | } | ||
614 | |||
615 | static void hdpu_ide_release_region(ide_ioreg_t from, unsigned int extent) | ||
616 | { | ||
617 | release_region(from, extent); | ||
618 | return; | ||
619 | } | ||
620 | |||
621 | static void __init | ||
622 | hdpu_ide_pci_init_hwif_ports(hw_regs_t * hw, ide_ioreg_t data_port, | ||
623 | ide_ioreg_t ctrl_port, int *irq) | ||
624 | { | ||
625 | struct pci_dev *dev; | ||
626 | |||
627 | pci_for_each_dev(dev) { | ||
628 | if (((dev->class >> 8) == PCI_CLASS_STORAGE_IDE) || | ||
629 | ((dev->class >> 8) == PCI_CLASS_STORAGE_RAID)) { | ||
630 | hw->irq = dev->irq; | ||
631 | |||
632 | if (irq != NULL) { | ||
633 | *irq = dev->irq; | ||
634 | } | ||
635 | } | ||
636 | } | ||
637 | |||
638 | return; | ||
639 | } | ||
640 | #endif | ||
641 | |||
642 | void hdpu_heartbeat(void) | 606 | void hdpu_heartbeat(void) |
643 | { | 607 | { |
644 | if (mv64x60_read(&bh, MV64x60_GPP_VALUE) & (1 << 5)) | 608 | if (mv64x60_read(&bh, MV64x60_GPP_VALUE) & (1 << 5)) |