Commit 71fc9fcc70e6ad96215510c1dbcbade05cd95e41

Authored by Kevin Hilman
Committed by Bartlomiej Zolnierkiewicz
1 parent bef69ea0dc

IDE: compile fix for sff_dma_ops

The sff_dma_ops struct should be wrapped by BLK_DEV_IDEDMA_SFF instead
of BLK_DEV_IDEDMA_PCI.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Cc: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

... ... @@ -1111,7 +1111,6 @@
1111 1111 #ifdef CONFIG_BLK_DEV_IDEDMA_PCI
1112 1112 int ide_pci_set_master(struct pci_dev *, const char *);
1113 1113 unsigned long ide_pci_dma_base(ide_hwif_t *, const struct ide_port_info *);
1114   -extern const struct ide_dma_ops sff_dma_ops;
1115 1114 int ide_pci_check_simplex(ide_hwif_t *, const struct ide_port_info *);
1116 1115 int ide_hwif_setup_dma(ide_hwif_t *, const struct ide_port_info *);
1117 1116 #else
... ... @@ -1275,6 +1274,7 @@
1275 1274 int ide_dma_test_irq(ide_drive_t *);
1276 1275 extern void ide_dma_lost_irq(ide_drive_t *);
1277 1276 extern void ide_dma_timeout(ide_drive_t *);
  1277 +extern const struct ide_dma_ops sff_dma_ops;
1278 1278 #endif /* CONFIG_BLK_DEV_IDEDMA_SFF */
1279 1279  
1280 1280 #else