diff options
author | Lv Zheng <lv.zheng@intel.com> | 2013-12-06 16:51:59 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-12-07 01:24:33 +0100 |
commit | c099eacbcaec4475936fbf73e499507728ce47e1 (patch) | |
tree | 7350b256876258311c5725a353eedbd2a1de27c9 /include/linux/sfi_acpi.h | |
parent | fe5e49cb5ac57f984a44287cf123fbbc712d7bec (diff) | |
download | blackbird-op-linux-c099eacbcaec4475936fbf73e499507728ce47e1.tar.gz blackbird-op-linux-c099eacbcaec4475936fbf73e499507728ce47e1.zip |
SFI / ACPI: Fix warnings reported during builds with W=1
The following warnings can be seen in W=1 builds, because the original
sfi_acpi.[ch] header inclusions are incorrect:
include/linux/sfi_acpi.h:72:2: error: implicit declaration of function 'acpi_table_parse' [-Werror=implicit-function-declaration]
drivers/sfi/sfi_acpi.c:154:5: warning: no previous prototype for 'sfi_acpi_table_parse' [-Wmissing-prototypes]
Fix linux/sfi_acpi.h and modify drivers/sfi/sfi_acpi.c accordingly.
Reported-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Lv Zheng <lv.zheng@intel.com>
[rjw: Subject and changelog]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'include/linux/sfi_acpi.h')
-rw-r--r-- | include/linux/sfi_acpi.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/linux/sfi_acpi.h b/include/linux/sfi_acpi.h index 2cfcb7944a49..4723bbfa1c26 100644 --- a/include/linux/sfi_acpi.h +++ b/include/linux/sfi_acpi.h @@ -59,6 +59,9 @@ #ifndef _LINUX_SFI_ACPI_H #define _LINUX_SFI_ACPI_H +#include <linux/acpi.h> +#include <linux/sfi.h> + #ifdef CONFIG_SFI #include <acpi/acpi.h> /* FIXME: inclusion should be removed */ |