]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ide: factor out devices setup from ide_acpi_init()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:43 +0000 (19:56 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Sat, 2 Feb 2008 18:56:43 +0000 (19:56 +0100)
commiteafd88a3b5d86ba2dd515d430b57a01349d0867b
tree6325ee98037bb046025100f3d05cc10154ec9225
parent070ecb841c4f15817f4e2365785173eea56ab3e6
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>
drivers/ide/ide-acpi.c
drivers/ide/ide-probe.c
include/linux/ide.h