summaryrefslogtreecommitdiffstats
path: root/include/linux/ide.h
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz2008-07-16 20:33:42 +0200
committerBartlomiej Zolnierkiewicz2008-07-16 20:33:42 +0200
commite6d95bd14928926d6658b5e4ace905e8b83ed27a (patch)
treebc6c6b238505ff94e7523e1a9c2a445d9ddf7e6b /include/linux/ide.h
parentcmd640: fix warm-plug support for the secondary interface (diff)
downloadkernel-qcow2-linux-e6d95bd14928926d6658b5e4ace905e8b83ed27a.tar.gz
kernel-qcow2-linux-e6d95bd14928926d6658b5e4ace905e8b83ed27a.tar.xz
kernel-qcow2-linux-e6d95bd14928926d6658b5e4ace905e8b83ed27a.zip
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.h4
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 {
struct ide_port_info;
struct ide_port_ops {
- /* host specific initialization of devices on a port */
- void (*port_init_devs)(struct hwif_s *);
+ /* host specific initialization of a device */
+ void (*init_dev)(ide_drive_t *);
/* routine to program host for PIO mode */
void (*set_pio_mode)(ide_drive_t *, const u8);
/* routine to program host for DMA mode */