summaryrefslogtreecommitdiff
path: root/drivers/ide/ide-probe.c
diff options
context:
space:
mode:
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 21:56:43 +0300
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>2008-02-02 21:56:43 +0300
commiteafd88a3b5d86ba2dd515d430b57a01349d0867b (patch)
tree6325ee98037bb046025100f3d05cc10154ec9225 /drivers/ide/ide-probe.c
parent070ecb841c4f15817f4e2365785173eea56ab3e6 (diff)
downloadlinux-eafd88a3b5d86ba2dd515d430b57a01349d0867b.tar.xz
ide: factor out devices setup from ide_acpi_init()
* Factor out devices setup from ide_acpi_init() to ide_acpi_port_init_devices(). * Call ide_acpi_port_init_devices() in ide_device_add_all(). While at it: * Remove no longer needed 'drive' field from struct ide_acpi_drive_link. There should be no functionality changes caused by this patch. Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Diffstat (limited to 'drivers/ide/ide-probe.c')
-rw-r--r--drivers/ide/ide-probe.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c
index cab06ac9522a..abb695aa021d 100644
--- a/drivers/ide/ide-probe.c
+++ b/drivers/ide/ide-probe.c
@@ -1430,6 +1430,7 @@ int ide_device_add_all(u8 *idx, const struct ide_port_info *d)
}
ide_acpi_init(hwif);
+ ide_acpi_port_init_devices(hwif);
}
for (i = 0; i < MAX_HWIFS; i++) {