summaryrefslogtreecommitdiff
path: root/include/linux/sfi_acpi.h
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2014-07-16 12:58:40 +0400
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2014-07-23 03:10:45 +0400
commitf997ea54479e85076873a70fe53e66c9153e6f00 (patch)
tree8a691f1099aeb050ae6ce03a5ee9b121fac7d757 /include/linux/sfi_acpi.h
parent633adaba49d46dcaa4289de5b25c562b54ff575b (diff)
downloadlinux-f997ea54479e85076873a70fe53e66c9153e6f00.tar.xz
ACPI / SFI: Fix wrong <acpi/acpi.h> inclusion in SFI/ACPI wrapper - table definitions.
This patch removes <acpi/acpi.h> inclusions from <linux/sfi_acpi.h> as <linux/acpi.h> has already included it for CONFIG_ACPI=n builds. Cc: Len Brown <lenb@kernel.org> Cc: sfi-devel@simplefirmware.org Signed-off-by: Lv Zheng <lv.zheng@intel.com> 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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/sfi_acpi.h b/include/linux/sfi_acpi.h
index 4723bbfa1c26..a6e555cbe05c 100644
--- a/include/linux/sfi_acpi.h
+++ b/include/linux/sfi_acpi.h
@@ -63,8 +63,6 @@
#include <linux/sfi.h>
#ifdef CONFIG_SFI
-#include <acpi/acpi.h> /* FIXME: inclusion should be removed */
-
extern int sfi_acpi_table_parse(char *signature, char *oem_id,
char *oem_table_id,
int (*handler)(struct acpi_table_header *));
@@ -78,7 +76,6 @@ static inline int __init acpi_sfi_table_parse(char *signature,
return sfi_acpi_table_parse(signature, NULL, NULL, handler);
}
#else /* !CONFIG_SFI */
-
static inline int sfi_acpi_table_parse(char *signature, char *oem_id,
char *oem_table_id,
int (*handler)(struct acpi_table_header *))