diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-16 14:33:42 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-07-16 14:33:42 -0400 |
commit | e6d95bd14928926d6658b5e4ace905e8b83ed27a (patch) | |
tree | bc6c6b238505ff94e7523e1a9c2a445d9ddf7e6b /include/linux/ide.h | |
parent | a698400a1556cf9f0376d1a41e536973dd5c4747 (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 'include/linux/ide.h')
-rw-r--r-- | include/linux/ide.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/linux/ide.h b/include/linux/ide.h index a6a2eccb6526..f9cbe9350cad 100644 --- a/include/linux/ide.h +++ b/include/linux/ide.h | |||
@@ -405,8 +405,8 @@ typedef struct ide_drive_s { | |||
405 | struct ide_port_info; | 405 | struct ide_port_info; |
406 | 406 | ||
407 | struct ide_port_ops { | 407 | struct ide_port_ops { |
408 | /* host specific initialization of devices on a port */ | 408 | /* host specific initialization of a device */ |
409 | void (*port_init_devs)(struct hwif_s *); | 409 | void (*init_dev)(ide_drive_t *); |
410 | /* routine to program host for PIO mode */ | 410 | /* routine to program host for PIO mode */ |
411 | void (*set_pio_mode)(ide_drive_t *, const u8); | 411 | void (*set_pio_mode)(ide_drive_t *, const u8); |
412 | /* routine to program host for DMA mode */ | 412 | /* routine to program host for DMA mode */ |