summaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2012-11-26 10:35:07 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-27 13:44:58 +0100
commit5923f986ac191a32640429d054b94af185ec73a8 (patch)
treefa91e44a6ea8e8b2838debefa15f96cd16e0fa34 /drivers/acpi
parent94d76d5de38d7502c3e78fcd6bf50da95e3e0361 (diff)
ACPI / platform: include missed header into acpi_platform.c
The internal.h declares the acpi_create_platform_device(). Without that include we get a following warning: drivers/acpi/acpi_platform.c:133:24: warning: symbol 'acpi_create_platform_device' was not declared. Should it be static? Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/acpi_platform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/acpi/acpi_platform.c b/drivers/acpi/acpi_platform.c
index b7df9b197bc..db129b9f52c 100644
--- a/drivers/acpi/acpi_platform.c
+++ b/drivers/acpi/acpi_platform.c
@@ -17,6 +17,8 @@
#include <linux/module.h>
#include <linux/platform_device.h>
+#include "internal.h"
+
ACPI_MODULE_NAME("platform");
/**