diff options
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r-- | drivers/ide/ide-probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 74b024519aff..5ccd691b0bd2 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -1258,10 +1258,10 @@ static int hwif_init(ide_hwif_t *hwif) | |||
1258 | hwif->name, hwif->irq); | 1258 | hwif->name, hwif->irq); |
1259 | 1259 | ||
1260 | done: | 1260 | done: |
1261 | init_gendisk(hwif); | ||
1262 | blk_register_region(MKDEV(hwif->major, 0), MAX_DRIVES << PARTN_BITS, | 1261 | blk_register_region(MKDEV(hwif->major, 0), MAX_DRIVES << PARTN_BITS, |
1263 | THIS_MODULE, ata_probe, ata_lock, hwif); | 1262 | THIS_MODULE, ata_probe, ata_lock, hwif); |
1264 | ide_acpi_init(hwif); | 1263 | ide_acpi_init(hwif); |
1264 | init_gendisk(hwif); | ||
1265 | return 1; | 1265 | return 1; |
1266 | 1266 | ||
1267 | out: | 1267 | out: |