public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCHv2 1/5] ACPI: suppress compiler warnings in button.c
@ 2013-03-11  9:17 Andy Shevchenko
  2013-03-11  9:17 ` [PATCHv2 2/5] ACPI: suppress compiler warnings in processor_throttling.c Andy Shevchenko
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: Andy Shevchenko @ 2013-03-11  9:17 UTC (permalink / raw)
  To: linux-acpi, Rafael J . Wysocki; +Cc: Andy Shevchenko

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>
---
 drivers/acpi/button.c | 1 +
 1 file changed, 1 insertion(+)

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: "
 
-- 
1.8.2.rc0.22.gb3600c3

--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-04-12 20:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-03-11  9:17 [PATCHv2 1/5] ACPI: suppress compiler warnings in button.c Andy Shevchenko
2013-03-11  9:17 ` [PATCHv2 2/5] ACPI: suppress compiler warnings in processor_throttling.c Andy Shevchenko
2013-03-11  9:17 ` [PATCHv2 3/5] ACPI: suppress compiler warning in battery.c Andy Shevchenko
2013-03-11  9:17 ` [PATCHv2 4/5] ACPI: suppress compiler warning in container.c Andy Shevchenko
2013-03-11  9:17 ` [PATCHv2 5/5] ACPI / pcie: suppress compiler warning in portdrv_acpi.c Andy Shevchenko
2013-04-12 20:54   ` Bjorn Helgaas
2013-03-26 13:26 ` [PATCHv2 1/5] ACPI: suppress compiler warnings in button.c Rafael J. Wysocki

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox