ACPI: include missed header into acpi_platform.c
PATCH 1/1 ACPI: 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?
--- drivers/acpi/acpi_platform.c | 2 ++ 1 file changed, 2 insertions(+)
drivers/acpi/acpi_platform.c +2 -0
@@ -17,6 +17,8 @@#include <linux/module.h> #include <linux/platform_device.h> +#include "internal.h" +ACPI_MODULE_NAME ("platform" );struct resource_info {
Signature · 1 line
1.7.10.4
Quoted 5 lines · Andy Shevchenko
The
internal.hdeclares theacpi_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 <[email protected]>
Quoted 19 lines
--- drivers/acpi/acpi_platform.c | 2 ++ 1 file changed, 2 insertions(+)drivers/acpi/acpi_platform.c +2
-0@@ -17,6 +17,8 @@#include <linux/module.h> #include <linux/platform_device.h> +#include "internal.h" +ACPI_MODULE_NAME ("platform" );struct resource_info {Signature · 1 line
1.7.10.4
Rafael J. Wysocki
AppliedQuoted 8 lines · Mika Westerberg
Quoted 5 lines · Andy Shevchenko
The
internal.hdeclares theacpi_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 <[email protected]>Acked-by Mika Westerberg <[email protected]>
Applied.
Thanks,
Rafael
Quoted 21 lines
Quoted 9 lines
--- drivers/acpi/acpi_platform.c | 2 ++ 1 file changed, 2 insertions(+)drivers/acpi/acpi_platform.c +0
-0drivers/acpi/acpi_platform.c line 24
Quoted 8 lines
drivers/acpi/acpi_platform.c +2
-0@@ -17,6 +17,8 @@#include <linux/module.h> #include <linux/platform_device.h> +#include "internal.h" +ACPI_MODULE_NAME ("platform" );struct resource_info {--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Signature · 2 lines
I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center.