diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2013-03-11 09:17:04 (GMT) |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-03-24 23:05:48 (GMT) |
commit | 6270da6f4d5a7e13cff98585d25c6742aec5a33c (patch) | |
tree | d84f5a3a748d834d2c8976e90daa527af424cffd /drivers/acpi | |
parent | e2cb5f08469c991b187f66fa627d7673c7f3361b (diff) | |
download | linux-fsl-qoriq-6270da6f4d5a7e13cff98585d25c6742aec5a33c.tar.xz |
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 86c7d54..92a659a 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: " |