From a1f59d169557975a10eb3443835eca96bb2e18ba Mon Sep 17 00:00:00 2001 From: Bartlomiej Zolnierkiewicz Date: Sat, 4 Oct 2003 03:55:11 -0700 Subject: [PATCH] [PATCH] pdc202xx_new: kill dummy init_dma_pdc202new() --- drivers/ide/pci/pdc202xx_new.c | 5 ----- drivers/ide/pci/pdc202xx_new.h | 8 -------- 2 files changed, 13 deletions(-) diff --git a/drivers/ide/pci/pdc202xx_new.c b/drivers/ide/pci/pdc202xx_new.c index 0eadfc0b6a92c..7c60301aa938b 100644 --- a/drivers/ide/pci/pdc202xx_new.c +++ b/drivers/ide/pci/pdc202xx_new.c @@ -563,11 +563,6 @@ static void __init init_hwif_pdc202new (ide_hwif_t *hwif) #endif /* PDC202_DEBUG_CABLE */ } -static void __init init_dma_pdc202new (ide_hwif_t *hwif, unsigned long dmabase) -{ - ide_setup_dma(hwif, dmabase, 8); -} - extern void ide_setup_pci_device(struct pci_dev *, ide_pci_device_t *); extern void ide_setup_pci_devices(struct pci_dev *, struct pci_dev *, ide_pci_device_t *); diff --git a/drivers/ide/pci/pdc202xx_new.h b/drivers/ide/pci/pdc202xx_new.h index c5e7d5ee0a793..41008c1424048 100644 --- a/drivers/ide/pci/pdc202xx_new.h +++ b/drivers/ide/pci/pdc202xx_new.h @@ -188,7 +188,6 @@ static void init_setup_pdc20270(struct pci_dev *, ide_pci_device_t *); static void init_setup_pdc20276(struct pci_dev *dev, ide_pci_device_t *d); static unsigned int init_chipset_pdcnew(struct pci_dev *, const char *); static void init_hwif_pdc202new(ide_hwif_t *); -static void init_dma_pdc202new(ide_hwif_t *, unsigned long); static ide_pci_device_t pdcnew_chipsets[] __devinitdata = { { /* 0 */ @@ -199,7 +198,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = { .init_chipset = init_chipset_pdcnew, .init_iops = NULL, .init_hwif = init_hwif_pdc202new, - .init_dma = init_dma_pdc202new, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, @@ -213,7 +211,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = { .init_chipset = init_chipset_pdcnew, .init_iops = NULL, .init_hwif = init_hwif_pdc202new, - .init_dma = init_dma_pdc202new, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, @@ -227,7 +224,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = { .init_chipset = init_chipset_pdcnew, .init_iops = NULL, .init_hwif = init_hwif_pdc202new, - .init_dma = init_dma_pdc202new, .channels = 2, .autodma = AUTODMA, #ifdef CONFIG_PDC202XX_FORCE @@ -245,7 +241,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = { .init_chipset = init_chipset_pdcnew, .init_iops = NULL, .init_hwif = init_hwif_pdc202new, - .init_dma = init_dma_pdc202new, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, @@ -259,7 +254,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = { .init_chipset = init_chipset_pdcnew, .init_iops = NULL, .init_hwif = init_hwif_pdc202new, - .init_dma = init_dma_pdc202new, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, @@ -273,7 +267,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = { .init_chipset = init_chipset_pdcnew, .init_iops = NULL, .init_hwif = init_hwif_pdc202new, - .init_dma = init_dma_pdc202new, .channels = 2, .autodma = AUTODMA, #ifdef CONFIG_PDC202XX_FORCE @@ -291,7 +284,6 @@ static ide_pci_device_t pdcnew_chipsets[] __devinitdata = { .init_chipset = init_chipset_pdcnew, .init_iops = NULL, .init_hwif = init_hwif_pdc202new, - .init_dma = init_dma_pdc202new, .channels = 2, .autodma = AUTODMA, .enablebits = {{0x00,0x00,0x00}, {0x00,0x00,0x00}}, -- 2.53.0