diff options
Diffstat (limited to 'drivers/ide/ide.c')
-rw-r--r-- | drivers/ide/ide.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/drivers/ide/ide.c b/drivers/ide/ide.c index 35f24b9b8219..15741367eb35 100644 --- a/drivers/ide/ide.c +++ b/drivers/ide/ide.c | |||
@@ -715,9 +715,10 @@ found: | |||
715 | hwif->chipset = hw->chipset; | 715 | hwif->chipset = hw->chipset; |
716 | hwif->gendev.parent = hw->dev; | 716 | hwif->gendev.parent = hw->dev; |
717 | 717 | ||
718 | if (!initializing) { | 718 | if (initializing == 0) { |
719 | probe_hwif_init(hwif); | 719 | u8 idx[4] = { index, 0xff, 0xff, 0xff }; |
720 | ide_proc_register_port(hwif); | 720 | |
721 | ide_device_add(idx); | ||
721 | } | 722 | } |
722 | 723 | ||
723 | if (hwifp) | 724 | if (hwifp) |