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

index d0a6e3df1eb5fdb2e6fde2de322a10264c61805c..a62c409e1f6be8609bb80296bceddd9e122f2303 100644 (file)
@@ -545,11 +545,6 @@ static void __init init_hwif_sc1200 (ide_hwif_t *hwif)
         hwif->drives[1].autodma = hwif->autodma;
 }
 
-static void __init init_dma_sc1200 (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 *);
 
 
index a34d67bc8bdf33752ef75d6814de666e467bf586..8714e5391446d3cf1cc768d6964630108d963cd8 100644 (file)
@@ -27,7 +27,6 @@ static ide_pci_host_proc_t sc1200_procs[] __initdata = {
 
 static unsigned int init_chipset_sc1200(struct pci_dev *, const char *);
 static void init_hwif_sc1200(ide_hwif_t *);
-static void init_dma_sc1200(ide_hwif_t *, unsigned long);
 
 static ide_pci_device_t sc1200_chipsets[] __devinitdata = {
        {       /* 0 */
@@ -37,7 +36,6 @@ static ide_pci_device_t sc1200_chipsets[] __devinitdata = {
                .init_chipset   = init_chipset_sc1200,
                .init_iops      = NULL,
                .init_hwif      = init_hwif_sc1200,
-               .init_dma       = init_dma_sc1200,
                .channels       = 2,
                .autodma        = AUTODMA,
                .enablebits     = {{0x00,0x00,0x00}, {0x00,0x00,0x00}},