diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-23 13:55:51 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-23 13:55:51 -0400 |
commit | 81e8d5a34f7d2a2acbe309cfa5810a9699a63239 (patch) | |
tree | be8257161e9bbc6f7bd0fe0b7980de94681d3306 /include/linux/ide.h | |
parent | cab7f8eda40d3e3e16b137c67cdddc2cf893c5d7 (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.h | 2 |
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 |
1008 | int ide_pci_set_master(struct pci_dev *, const char *); | 1008 | int ide_pci_set_master(struct pci_dev *, const char *); |
1009 | unsigned long ide_pci_dma_base(ide_hwif_t *, const struct ide_port_info *); | 1009 | unsigned long ide_pci_dma_base(ide_hwif_t *, const struct ide_port_info *); |
1010 | extern const struct ide_dma_ops sff_dma_ops; | ||
1010 | int ide_hwif_setup_dma(ide_hwif_t *, const struct ide_port_info *); | 1011 | int ide_hwif_setup_dma(ide_hwif_t *, const struct ide_port_info *); |
1011 | #else | 1012 | #else |
1012 | static inline int ide_hwif_setup_dma(ide_hwif_t *hwif, | 1013 | static inline int ide_hwif_setup_dma(ide_hwif_t *hwif, |
@@ -1164,7 +1165,6 @@ void ide_destroy_dmatable(ide_drive_t *); | |||
1164 | extern int ide_build_dmatable(ide_drive_t *, struct request *); | 1165 | extern int ide_build_dmatable(ide_drive_t *, struct request *); |
1165 | int ide_allocate_dma_engine(ide_hwif_t *); | 1166 | int ide_allocate_dma_engine(ide_hwif_t *); |
1166 | void ide_release_dma_engine(ide_hwif_t *); | 1167 | void ide_release_dma_engine(ide_hwif_t *); |
1167 | void ide_setup_dma(ide_hwif_t *, unsigned long); | ||
1168 | 1168 | ||
1169 | void ide_dma_host_set(ide_drive_t *, int); | 1169 | void ide_dma_host_set(ide_drive_t *, int); |
1170 | extern int ide_dma_setup(ide_drive_t *); | 1170 | extern int ide_dma_setup(ide_drive_t *); |