aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/scsi_lib.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/scsi_lib.c')
-rw-r--r--drivers/scsi/scsi_lib.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index b58327758c58..ffd77739ae3e 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -68,6 +68,23 @@ static struct scsi_host_sg_pool scsi_sg_pools[] = {
68 68
69struct kmem_cache *scsi_sdb_cache; 69struct kmem_cache *scsi_sdb_cache;
70 70
71#ifdef CONFIG_ACPI
72#include <acpi/acpi_bus.h>
73
74int scsi_register_acpi_bus_type(struct acpi_bus_type *bus)
75{
76 bus->bus = &scsi_bus_type;
77 return register_acpi_bus_type(bus);
78}
79EXPORT_SYMBOL_GPL(scsi_register_acpi_bus_type);
80
81void scsi_unregister_acpi_bus_type(struct acpi_bus_type *bus)
82{
83 unregister_acpi_bus_type(bus);
84}
85EXPORT_SYMBOL_GPL(scsi_unregister_acpi_bus_type);
86#endif
87
71/* 88/*
72 * When to reinvoke queueing after a resource shortage. It's 3 msecs to 89 * When to reinvoke queueing after a resource shortage. It's 3 msecs to
73 * not change behaviour from the previous unplug mechanism, experimentation 90 * not change behaviour from the previous unplug mechanism, experimentation