[SCSI] add wrapper to access and set scsi_bus_type in struct acpi_bus_type
authorHolger Macht <holger@homac.de>
Mon, 25 Jun 2012 08:13:02 +0000 (16:13 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 29 Jun 2012 15:38:09 +0000 (11:38 -0400)
commitde50ada55b6b83b54b817911ec42dc590e1c1738
treea01be5907effa3e64cf3b9b65b963a8785f42889
parent9acc7bde23ebb19a704395f76490685e1513e422
[SCSI] add wrapper to access and set scsi_bus_type in struct acpi_bus_type

For being able to bind ata devices against acpi devices, scsi_bus_type
needs to be set as bus in struct acpi_bus_type. So add wrapper to
scsi_lib to accomplish that.

Signed-off-by: Holger Macht <holger@homac.de>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/scsi/scsi_lib.c
include/scsi/scsi.h