On Monday, March 11, 2013 11:17:04 AM Andy Shevchenko wrote: > 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@xxxxxxxxxxxxxxx> Patches [1-4/5] applied to linux-pm.git/linux-next. I'm leaving patch [5/5] to Bjorn. Thanks, Rafael > --- > 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: " > > -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center. -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html