Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ACPI: suppress compiler warning in container.c

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

drivers/acpi/container.c:183:116: warning: no previous prototype for ‘acpi_container_init’ [-Wmissing-prototypes]

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Andy Shevchenko and committed by
Rafael J. Wysocki
2f9b06fc efd941f1

+2
+2
drivers/acpi/container.c
··· 35 35 #include <acpi/acpi_bus.h> 36 36 #include <acpi/acpi_drivers.h> 37 37 38 + #include "internal.h" 39 + 38 40 #define PREFIX "ACPI: " 39 41 40 42 #define _COMPONENT ACPI_CONTAINER_COMPONENT