ACPI: suppress compiler warning in battery.c
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 11 Mar 2013 09:17:06 +0000 (09:17 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 24 Mar 2013 23:05:48 +0000 (00:05 +0100)
commitefd941f108569a9cfd1c14f20093a4ac745dec2d
treeb87f833c6172df00c8d8aeb8105927c7f419e4ef
parent2d5914ccf9b359d40de27eefd1761ddc93785376
ACPI: suppress compiler warning in battery.c

This patch fixes following compiler warning when build via make W=1:

drivers/acpi/battery.c:149:52: warning: no previous prototype for ‘acpi_battery_present’ [-Wmissing-prototypes]

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/battery.c