aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-23 13:55:51 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-23 13:55:51 -0400
commit81e8d5a34f7d2a2acbe309cfa5810a9699a63239 (patch)
treebe8257161e9bbc6f7bd0fe0b7980de94681d3306 /include/linux/ide.h
parentcab7f8eda40d3e3e16b137c67cdddc2cf893c5d7 (diff)
ide: remove ide_setup_dma()
Export sff_dma_ops and then remove ide_setup_dma(). There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'include/linux/ide.h')
-rw-r--r--include/linux/ide.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h
index 85a32f472ef0..6d774607e32a 100644
--- a/include/linux/ide.h
+++ b/include/linux/ide.h
@@ -1007,6 +1007,7 @@ void ide_setup_pci_noise(struct pci_dev *, const struct ide_port_info *);
1007#ifdef CONFIG_BLK_DEV_IDEDMA_PCI 1007#ifdef CONFIG_BLK_DEV_IDEDMA_PCI
1008int ide_pci_set_master(struct pci_dev *, const char *); 1008int ide_pci_set_master(struct pci_dev *, const char *);
1009unsigned long ide_pci_dma_base(ide_hwif_t *, const struct ide_port_info *); 1009unsigned long ide_pci_dma_base(ide_hwif_t *, const struct ide_port_info *);
1010extern const struct ide_dma_ops sff_dma_ops;
1010int ide_hwif_setup_dma(ide_hwif_t *, const struct ide_port_info *); 1011int ide_hwif_setup_dma(ide_hwif_t *, const struct ide_port_info *);
1011#else 1012#else
1012static inline int ide_hwif_setup_dma(ide_hwif_t *hwif, 1013static inline int ide_hwif_setup_dma(ide_hwif_t *hwif,
@@ -1164,7 +1165,6 @@ void ide_destroy_dmatable(ide_drive_t *);
1164extern int ide_build_dmatable(ide_drive_t *, struct request *); 1165extern int ide_build_dmatable(ide_drive_t *, struct request *);
1165int ide_allocate_dma_engine(ide_hwif_t *); 1166int ide_allocate_dma_engine(ide_hwif_t *);
1166void ide_release_dma_engine(ide_hwif_t *); 1167void ide_release_dma_engine(ide_hwif_t *);
1167void ide_setup_dma(ide_hwif_t *, unsigned long);
1168 1168
1169void ide_dma_host_set(ide_drive_t *, int); 1169void ide_dma_host_set(ide_drive_t *, int);
1170extern int ide_dma_setup(ide_drive_t *); 1170extern int ide_dma_setup(ide_drive_t *);