diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 14:13:06 -0500 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2008-01-26 14:13:06 -0500 |
commit | 944000921d41c5aacfda6515ad3a0bbde52f8fa3 (patch) | |
tree | a2f814052f6a310fb9f36d80c2905c2838f0d275 /drivers/ide/arm | |
parent | cbb010c180294a5242a7681555c28737d9dd26ab (diff) |
ide: move ide_arm_init() call from init_ide_data() to ide_init()
* Remove ide_init_port_data() call from ide_arm_init() and move
ide_arm_init() call from init_ide_data() to ide_init().
This patch is a preparation for the future changes (and as a side-effect
makes obsolete "idex=io[,ctl[,irq]]" kernel parameters work for ide_arm).
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/arm')
-rw-r--r-- | drivers/ide/arm/ide_arm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/ide/arm/ide_arm.c b/drivers/ide/arm/ide_arm.c index 1a03a2a285ef..21ba6ac2f826 100644 --- a/drivers/ide/arm/ide_arm.c +++ b/drivers/ide/arm/ide_arm.c | |||
@@ -35,7 +35,6 @@ void __init ide_arm_init(void) | |||
35 | 35 | ||
36 | hwif = ide_find_port(hw.io_ports[IDE_DATA_OFFSET]); | 36 | hwif = ide_find_port(hw.io_ports[IDE_DATA_OFFSET]); |
37 | if (hwif) { | 37 | if (hwif) { |
38 | ide_init_port_data(hwif, hwif->index); | ||
39 | ide_init_port_hw(hwif, &hw); | 38 | ide_init_port_hw(hwif, &hw); |
40 | } | 39 | } |
41 | } | 40 | } |