ide: sanitize ACPI initialization
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:41 +0000 (23:22 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Tue, 24 Mar 2009 22:22:41 +0000 (23:22 +0100)
commit8b803bd184e3f6892284d4b50801b9ec85cd9b96
treec7727ccfeba7e187aeca3ccdc8049269d368e564
parent7ed5b157d9dff55bf477b4c8b4708d5d45476677
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>
drivers/ide/ide-acpi.c
drivers/ide/ide-probe.c
drivers/ide/ide.c
include/linux/ide.h