aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ide/ide.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-26 14:13:06 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-01-26 14:13:06 -0500
commit944000921d41c5aacfda6515ad3a0bbde52f8fa3 (patch)
treea2f814052f6a310fb9f36d80c2905c2838f0d275 /drivers/ide/ide.c
parentcbb010c180294a5242a7681555c28737d9dd26ab (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/ide.c')
-rw-r--r--drivers/ide/ide.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c
index 3ec220b64d0b..77af743425e8 100644
--- a/drivers/ide/ide.c
+++ b/drivers/ide/ide.c
@@ -218,9 +218,6 @@ static void __init init_ide_data (void)
218 ide_init_default_irq(hwif->io_ports[IDE_DATA_OFFSET]); 218 ide_init_default_irq(hwif->io_ports[IDE_DATA_OFFSET]);
219#endif 219#endif
220 } 220 }
221#ifdef CONFIG_IDE_ARM
222 ide_arm_init();
223#endif
224} 221}
225 222
226/** 223/**
@@ -1774,6 +1771,9 @@ static int __init ide_init(void)
1774 1771
1775 proc_ide_create(); 1772 proc_ide_create();
1776 1773
1774#ifdef CONFIG_IDE_ARM
1775 ide_arm_init();
1776#endif
1777#ifdef CONFIG_BLK_DEV_ALI14XX 1777#ifdef CONFIG_BLK_DEV_ALI14XX
1778 if (probe_ali14xx) 1778 if (probe_ali14xx)
1779 (void)ali14xx_init(); 1779 (void)ali14xx_init();