diff options
author | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 18:22:41 -0400 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | 2009-03-24 18:22:41 -0400 |
commit | 8b803bd184e3f6892284d4b50801b9ec85cd9b96 (patch) | |
tree | c7727ccfeba7e187aeca3ccdc8049269d368e564 /drivers/ide/ide-probe.c | |
parent | 7ed5b157d9dff55bf477b4c8b4708d5d45476677 (diff) |
ide: sanitize ACPI initialization
* ide_acpi_init() -> ide_acpi_init_port()
* ide_acpi_blacklist() -> ide_acpi_init()
* Call ide_acpi_init() only once (do it during IDE core
initialization) and cleanup the function accordingly.
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
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 eb0a38cd83ce..a51ad2bd62b4 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c | |||
@@ -1543,7 +1543,7 @@ int ide_host_register(struct ide_host *host, const struct ide_port_info *d, | |||
1543 | 1543 | ||
1544 | j++; | 1544 | j++; |
1545 | 1545 | ||
1546 | ide_acpi_init(hwif); | 1546 | ide_acpi_init_port(hwif); |
1547 | 1547 | ||
1548 | if (hwif->present) | 1548 | if (hwif->present) |
1549 | ide_acpi_port_init_devices(hwif); | 1549 | ide_acpi_port_init_devices(hwif); |