]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
scsi: remove useless acpi functions in the header file
authorHanjun Guo <hanjun.guo@linaro.org>
Tue, 10 Jan 2017 12:16:43 +0000 (20:16 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 11 Jan 2017 04:13:58 +0000 (23:13 -0500)
commit f1bc1e4c44b1 ("ata: acpi: rework the ata acpi bind support")
removed scsi_register_acpi_bus_type() and
scsi_unregister_acpi_bus_type(), but forgot to remove them in the header
file, do it now.

Signed-off-by: Hanjun Guo <hanjun.guo@linaro.org>
Reviewed-by: John Garry <john.garry@huawei.com>
Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
include/scsi/scsi.h

index 8ec7c30e35af088331245ca56bb1c7aba3428ccf..a1e1930b7a8722924847d1d1b85b005767d40d61 100644 (file)
@@ -29,16 +29,6 @@ enum scsi_timeouts {
  */
 #define SCAN_WILD_CARD ~0
 
-#ifdef CONFIG_ACPI
-struct acpi_bus_type;
-
-extern int
-scsi_register_acpi_bus_type(struct acpi_bus_type *bus);
-
-extern void
-scsi_unregister_acpi_bus_type(struct acpi_bus_type *bus);
-#endif
-
 /** scsi_status_is_good - check the status return.
  *
  * @status: the status passed up from the driver (including host and