diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-03-11 10:17:04 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-03-25 00:05:48 +0100 |
commit | 6270da6f4d5a7e13cff98585d25c6742aec5a33c (patch) | |
tree | d84f5a3a748d834d2c8976e90daa527af424cffd /drivers/acpi | |
parent | ACPI: replace kmalloc+memcpy with kmemdup (diff) | |
download | linux-6270da6f4d5a7e13cff98585d25c6742aec5a33c.tar.xz linux-6270da6f4d5a7e13cff98585d25c6742aec5a33c.zip |
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r-- | drivers/acpi/button.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c index 86c7d5445c38..92a659aa6396 100644 --- a/drivers/acpi/button.c +++ b/drivers/acpi/button.c @@ -33,6 +33,7 @@ #include <linux/slab.h> #include <acpi/acpi_bus.h> #include <acpi/acpi_drivers.h> +#include <acpi/button.h> #define PREFIX "ACPI: " |