summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/container.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2013-03-11 09:17:07 +0000
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-03-25 00:05:48 +0100
commit2f9b06fc95486e396dd533670dcb25de5e2612ea (patch)
tree96811ad34c389be7133c445a02a95c52baea594d /drivers/acpi/container.c
parentefd941f108569a9cfd1c14f20093a4ac745dec2d (diff)
downloadop-kernel-dev-2f9b06fc95486e396dd533670dcb25de5e2612ea.zip
op-kernel-dev-2f9b06fc95486e396dd533670dcb25de5e2612ea.tar.gz
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>
Diffstat (limited to 'drivers/acpi/container.c')
-rw-r--r--drivers/acpi/container.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/container.c b/drivers/acpi/container.c
index 5523ba7..6624c01 100644
--- a/drivers/acpi/container.c
+++ b/drivers/acpi/container.c
@@ -35,6 +35,8 @@
#include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h>
+#include "internal.h"
+
#define PREFIX "ACPI: "
#define _COMPONENT ACPI_CONTAINER_COMPONENT
OpenPOWER on IntegriCloud