libata-acpi: add missing inlines in libata.h
authorLin Ming <ming.m.lin@intel.com>
Mon, 2 Jul 2012 04:31:19 +0000 (12:31 +0800)
committerJeff Garzik <jgarzik@redhat.com>
Wed, 25 Jul 2012 18:15:03 +0000 (14:15 -0400)
commite91df93ebd7bef40d175d51ab7bcbd3b5c4fc212
tree799d2b6f01a840802d28a2f03dffd60e732d9dc6
parent166a2967b45ede2e2e56f3ede3cd32053dc17812
libata-acpi: add missing inlines in libata.h

Adds inline for ata_acpi_unregister/ata_acpi_bind/ata_acpi_unbind
in drivers/ata/libata.h for !CONFIG_ATA_ACPI to fix below warnings.

warning: 'ata_acpi_unregister' defined but not used [-Wunused-function]
warning: 'ata_acpi_bind' defined but not used [-Wunused-function]
warning: 'ata_acpi_unbind' defined but not used [-Wunused-function]

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Lin Ming <ming.m.lin@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/ata/libata.h