summaryrefslogtreecommitdiff
path: root/drivers/acpi/acpi_platform.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2012-11-26 13:35:07 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2012-11-27 16:44:58 +0400
commit5923f986ac191a32640429d054b94af185ec73a8 (patch)
treefa91e44a6ea8e8b2838debefa15f96cd16e0fa34 /drivers/acpi/acpi_platform.c
parent94d76d5de38d7502c3e78fcd6bf50da95e3e0361 (diff)
downloadlinux-5923f986ac191a32640429d054b94af185ec73a8.tar.xz
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/acpi_platform.c')
-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 b7df9b197bcf..db129b9f52cb 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");
/**