diff options
Diffstat (limited to 'drivers/ide/pci/trm290.c')
-rw-r--r-- | drivers/ide/pci/trm290.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/ide/pci/trm290.c b/drivers/ide/pci/trm290.c index 2b8f3a2837d7..47265030f87d 100644 --- a/drivers/ide/pci/trm290.c +++ b/drivers/ide/pci/trm290.c | |||
@@ -297,8 +297,6 @@ static void __devinit init_hwif_trm290(ide_hwif_t *hwif) | |||
297 | hwif->dma_start = &trm290_dma_start; | 297 | hwif->dma_start = &trm290_dma_start; |
298 | hwif->ide_dma_end = &trm290_ide_dma_end; | 298 | hwif->ide_dma_end = &trm290_ide_dma_end; |
299 | hwif->ide_dma_test_irq = &trm290_ide_dma_test_irq; | 299 | hwif->ide_dma_test_irq = &trm290_ide_dma_test_irq; |
300 | |||
301 | hwif->selectproc = &trm290_selectproc; | ||
302 | #if 1 | 300 | #if 1 |
303 | { | 301 | { |
304 | /* | 302 | /* |
@@ -328,10 +326,15 @@ static void __devinit init_hwif_trm290(ide_hwif_t *hwif) | |||
328 | #endif | 326 | #endif |
329 | } | 327 | } |
330 | 328 | ||
329 | static const struct ide_port_ops trm290_port_ops = { | ||
330 | .selectproc = trm290_selectproc, | ||
331 | }; | ||
332 | |||
331 | static const struct ide_port_info trm290_chipset __devinitdata = { | 333 | static const struct ide_port_info trm290_chipset __devinitdata = { |
332 | .name = "TRM290", | 334 | .name = "TRM290", |
333 | .init_hwif = init_hwif_trm290, | 335 | .init_hwif = init_hwif_trm290, |
334 | .chipset = ide_trm290, | 336 | .chipset = ide_trm290, |
337 | .port_ops = &trm290_port_ops, | ||
335 | .host_flags = IDE_HFLAG_NO_ATAPI_DMA | | 338 | .host_flags = IDE_HFLAG_NO_ATAPI_DMA | |
336 | #if 0 /* play it safe for now */ | 339 | #if 0 /* play it safe for now */ |
337 | IDE_HFLAG_TRUST_BIOS_FOR_DMA | | 340 | IDE_HFLAG_TRUST_BIOS_FOR_DMA | |