]> git.hungrycats.org Git - linux/commitdiff
[PATCH] it8172: kill dummy init_dma_it8172()
authorBartlomiej Zolnierkiewicz <b.zolnierkiewicz@elka.pw.edu.pl>
Sat, 4 Oct 2003 10:53:41 +0000 (03:53 -0700)
committerLinus Torvalds <torvalds@home.osdl.org>
Sat, 4 Oct 2003 10:53:41 +0000 (03:53 -0700)
drivers/ide/pci/it8172.c
drivers/ide/pci/it8172.h

index 131952949d0e723cc24b1f224b99a6238ef6c247..6b86cd033822253dd552c4b6308fb563c7e2c091 100644 (file)
@@ -284,11 +284,6 @@ static void __init init_hwif_it8172 (ide_hwif_t *hwif)
        hwif->drives[1].autodma = hwif->autodma;
 }
 
-static void __init init_dma_it8172 (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 *);
 
 static int __devinit it8172_init_one(struct pci_dev *dev, const struct pci_device_id *id)
index da28448d796c6c5cbfe4b71a30fa26c2789e55eb..6c49b6f416eb1318ccf1bd48813d054d436fc3e5 100644 (file)
@@ -17,7 +17,6 @@ static int it8172_config_chipset_for_dma(ide_drive_t *drive);
 static void init_setup_it8172(struct pci_dev *, ide_pci_device_t *);
 static unsigned int init_chipset_it8172(struct pci_dev *, const char *);
 static void init_hwif_it8172(ide_hwif_t *);
-static void init_dma_it8172(ide_hwif_t *, unsigned long);
 
 static ide_pci_device_t it8172_chipsets[] __devinitdata = {
        {       /* 0 */
@@ -28,7 +27,6 @@ static ide_pci_device_t it8172_chipsets[] __devinitdata = {
                .init_chipset   = init_chipset_it8172,
                .init_iops      = NULL,
                .init_hwif      = init_hwif_it8172,
-                .init_dma      = init_dma_it8172,
                .channels       = 2,
                .autodma        = AUTODMA,
                .enablebits     = {{0x00,0x00,0x00}, {0x40,0x00,0x01}},