ACPI: suppress compiler warnings in button.c
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 11 Mar 2013 09:17:04 +0000 (09:17 +0000)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Sun, 24 Mar 2013 23:05:48 +0000 (00:05 +0100)
commit6270da6f4d5a7e13cff98585d25c6742aec5a33c
treed84f5a3a748d834d2c8976e90daa527af424cffd
parente2cb5f08469c991b187f66fa627d7673c7f3361b
ACPI: suppress compiler warnings in button.c

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

drivers/acpi/button.c:220:5: warning: no previous prototype for ‘acpi_lid_notifier_register’ [-Wmissing-prototypes]
drivers/acpi/button.c:226:5: warning: no previous prototype for ‘acpi_lid_notifier_unregister’ [-Wmissing-prototypes]
drivers/acpi/button.c:232:5: warning: no previous prototype for ‘acpi_lid_open’ [-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/button.c