aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:40 -0500
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 13:56:40 -0500
commit346d49969b1ba2c95bec56d319fe4a455c00b174 (patch)
treea41b5a83c9529de0157ff0267a575db1440f3584
parent3a4e7c96d6bce25b102115c267c8ebfe13187925 (diff)
ide: call init_gendisk() after ide_acpi_init()
There should be no functionality changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
-rw-r--r--drivers/ide/ide-probe.c2
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
1260done: 1260done:
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
1267out: 1267out: