aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide-probe.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-16 14:33:42 -0400
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-07-16 14:33:42 -0400
commite6d95bd14928926d6658b5e4ace905e8b83ed27a (patch)
treebc6c6b238505ff94e7523e1a9c2a445d9ddf7e6b /drivers/ide/ide-probe.c
parenta698400a1556cf9f0376d1a41e536973dd5c4747 (diff)
ide: ->port_init_devs -> ->init_dev
Change ->port_init_devs method to take 'ide_drive_t *' as an argument instead of 'ide_hwif_t *' and rename it to ->init_dev. There should be no functional changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r--drivers/ide/ide-probe.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
index 97dda05914a1..c5dc18849303 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -1320,10 +1320,10 @@ static void ide_port_init_devices(ide_hwif_t *hwif)
1320 drive->unmask = 1; 1320 drive->unmask = 1;
1321 if (hwif->host_flags & IDE_HFLAG_NO_UNMASK_IRQS) 1321 if (hwif->host_flags & IDE_HFLAG_NO_UNMASK_IRQS)
1322 drive->no_unmask = 1; 1322 drive->no_unmask = 1;
1323 }
1324 1323
1325 if (port_ops && port_ops->port_init_devs) 1324 if (port_ops && port_ops->init_dev)
1326 port_ops->port_init_devs(hwif); 1325 port_ops->init_dev(drive);
1326 }
1327} 1327}
1328 1328
1329static void ide_init_port(ide_hwif_t *hwif, unsigned int port, 1329static void ide_init_port(ide_hwif_t *hwif, unsigned int port,