diff options
Diffstat (limited to 'drivers/ide/ppc/pmac.c')
-rw-r--r-- | drivers/ide/ppc/pmac.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/ide/ppc/pmac.c b/drivers/ide/ppc/pmac.c index 4b13cd9a027d..2fb047b898aa 100644 --- a/drivers/ide/ppc/pmac.c +++ b/drivers/ide/ppc/pmac.c | |||
@@ -1546,6 +1546,7 @@ static struct pci_device_id pmac_ide_pci_match[] = { | |||
1546 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, | 1546 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, |
1547 | { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_IPID2_ATA, | 1547 | { PCI_VENDOR_ID_APPLE, PCI_DEVICE_ID_APPLE_IPID2_ATA, |
1548 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, | 1548 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, 0}, |
1549 | {}, | ||
1549 | }; | 1550 | }; |
1550 | 1551 | ||
1551 | static struct pci_driver pmac_ide_pci_driver = { | 1552 | static struct pci_driver pmac_ide_pci_driver = { |
@@ -1802,9 +1803,7 @@ pmac_ide_dma_check(ide_drive_t *drive) | |||
1802 | { | 1803 | { |
1803 | struct hd_driveid *id = drive->id; | 1804 | struct hd_driveid *id = drive->id; |
1804 | ide_hwif_t *hwif = HWIF(drive); | 1805 | ide_hwif_t *hwif = HWIF(drive); |
1805 | pmac_ide_hwif_t* pmif = (pmac_ide_hwif_t *)hwif->hwif_data; | ||
1806 | int enable = 1; | 1806 | int enable = 1; |
1807 | int map; | ||
1808 | drive->using_dma = 0; | 1807 | drive->using_dma = 0; |
1809 | 1808 | ||
1810 | if (drive->media == ide_floppy) | 1809 | if (drive->media == ide_floppy) |