]> git.baikalelectronics.ru Git - kernel.git/commit
ACPI / SBS: fix SBS driver compile error when CONFIG_PM_SLEEP is undefined
authorShuah Khan <shuah.kh@samsung.com>
Thu, 13 Feb 2014 03:19:09 +0000 (20:19 -0700)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 13 Feb 2014 14:13:45 +0000 (15:13 +0100)
commitf6817c06a119baf244f8f2ab9b724fb2154eaa11
tree0e155602cdd2ced2795a21228e76cd96658c9807
parent1a2958101b72dd11e80822b7c33503fce8ff1186
ACPI / SBS: fix SBS driver compile error when CONFIG_PM_SLEEP is undefined

The ACPI SBS driver defines acpi_sbs_resume() when CONFIG_PM_SLEEP is
defined. This results in the following compile error when CONFIG_PM_SLEEP
is undefined:

  CC [M]  drivers/acpi/sbs.o
drivers/acpi/sbs.c:674:8: error: ‘acpi_sbs_resume’ undeclared here (not in a function)

Signed-off-by: Shuah Khan <shuah.kh@samsung.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/sbs.c