Commit ea7e96e0 authored by Lin Ming's avatar Lin Ming Committed by Len Brown

ACPI: remove private acpica headers from driver files

External driver files should not include any private acpica headers.
Signed-off-by: default avatarLin Ming <ming.m.lin@intel.com>
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent 2ee62612
...@@ -14,7 +14,6 @@ ...@@ -14,7 +14,6 @@
#define _ASM_IA64_ACPI_EXT_H #define _ASM_IA64_ACPI_EXT_H
#include <linux/types.h> #include <linux/types.h>
#include <acpi/actypes.h>
extern acpi_status hp_acpi_csr_space (acpi_handle, u64 *base, u64 *length); extern acpi_status hp_acpi_csr_space (acpi_handle, u64 *base, u64 *length);
......
...@@ -9,8 +9,6 @@ ...@@ -9,8 +9,6 @@
#ifndef _ASM_IA64_SN_ACPI_H #ifndef _ASM_IA64_SN_ACPI_H
#define _ASM_IA64_SN_ACPI_H #define _ASM_IA64_SN_ACPI_H
#include "acpi/acglobal.h"
extern int sn_acpi_rev; extern int sn_acpi_rev;
#define SN_ACPI_BASE_SUPPORT() (sn_acpi_rev >= 0x20101) #define SN_ACPI_BASE_SUPPORT() (sn_acpi_rev >= 0x20101)
......
...@@ -13,7 +13,6 @@ ...@@ -13,7 +13,6 @@
#include <asm/sn/sn_sal.h> #include <asm/sn/sn_sal.h>
#include "xtalk/hubdev.h" #include "xtalk/hubdev.h"
#include <linux/acpi.h> #include <linux/acpi.h>
#include <acpi/acnamesp.h>
/* /*
......
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
#include <linux/acpi.h> #include <linux/acpi.h>
#include <asm/sn/sn2/sn_hwperf.h> #include <asm/sn/sn2/sn_hwperf.h>
#include <asm/sn/acpi.h> #include <asm/sn/acpi.h>
#include "acpi/acglobal.h"
extern void sn_init_cpei_timer(void); extern void sn_init_cpei_timer(void);
extern void register_sn_procfs(void); extern void register_sn_procfs(void);
......
...@@ -27,9 +27,6 @@ ...@@ -27,9 +27,6 @@
#include <linux/seq_file.h> #include <linux/seq_file.h>
#include <acpi/acpi_bus.h> #include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h> #include <acpi/acpi_drivers.h>
#include <acpi/acmacros.h>
#include <acpi/actypes.h>
#include <acpi/acutils.h>
ACPI_MODULE_NAME("cm_sbs"); ACPI_MODULE_NAME("cm_sbs");
#define ACPI_AC_CLASS "ac_adapter" #define ACPI_AC_CLASS "ac_adapter"
......
...@@ -9,7 +9,6 @@ ...@@ -9,7 +9,6 @@
#include <linux/moduleparam.h> #include <linux/moduleparam.h>
#include <asm/uaccess.h> #include <asm/uaccess.h>
#include <acpi/acpi_drivers.h> #include <acpi/acpi_drivers.h>
#include <acpi/acglobal.h>
#define _COMPONENT ACPI_SYSTEM_COMPONENT #define _COMPONENT ACPI_SYSTEM_COMPONENT
ACPI_MODULE_NAME("debug"); ACPI_MODULE_NAME("debug");
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
#include <asm/io.h> #include <asm/io.h>
#include <acpi/acpi_bus.h> #include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h> #include <acpi/acpi_drivers.h>
#include <acpi/actypes.h>
#define ACPI_EC_CLASS "embedded_controller" #define ACPI_EC_CLASS "embedded_controller"
#define ACPI_EC_DEVICE_NAME "Embedded Controller" #define ACPI_EC_DEVICE_NAME "Embedded Controller"
......
...@@ -29,7 +29,6 @@ ...@@ -29,7 +29,6 @@
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/acpi.h> #include <linux/acpi.h>
#include <acpi/acpi_bus.h> #include <acpi/acpi_bus.h>
#include <acpi/acmacros.h>
#define ACPI_NUMA 0x80000000 #define ACPI_NUMA 0x80000000
#define _COMPONENT ACPI_NUMA #define _COMPONENT ACPI_NUMA
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include <acpi/acpi_bus.h> #include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h> #include <acpi/acpi_drivers.h>
#include <acpi/actypes.h>
#include <linux/wait.h> #include <linux/wait.h>
#include <linux/delay.h> #include <linux/delay.h>
#include <linux/interrupt.h> #include <linux/interrupt.h>
......
...@@ -10,7 +10,6 @@ ...@@ -10,7 +10,6 @@
#include <linux/kthread.h> #include <linux/kthread.h>
#include <acpi/acpi_drivers.h> #include <acpi/acpi_drivers.h>
#include <acpi/acinterp.h> /* for acpi_ex_eisa_id_to_string() */
#define _COMPONENT ACPI_BUS_COMPONENT #define _COMPONENT ACPI_BUS_COMPONENT
ACPI_MODULE_NAME("scan"); ACPI_MODULE_NAME("scan");
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include <acpi/acpi_drivers.h> #include <acpi/acpi_drivers.h>
#include <linux/kernel.h> #include <linux/kernel.h>
#include <linux/types.h> #include <linux/types.h>
#include <acpi/acevents.h>
#include "sleep.h" #include "sleep.h"
#define _COMPONENT ACPI_SYSTEM_COMPONENT #define _COMPONENT ACPI_SYSTEM_COMPONENT
......
...@@ -19,12 +19,6 @@ ...@@ -19,12 +19,6 @@
#include "libata.h" #include "libata.h"
#include <acpi/acpi_bus.h> #include <acpi/acpi_bus.h>
#include <acpi/acnames.h>
#include <acpi/acnamesp.h>
#include <acpi/acparser.h>
#include <acpi/acexcep.h>
#include <acpi/acmacros.h>
#include <acpi/actypes.h>
enum { enum {
ATA_ACPI_FILTER_SETXFER = 1 << 0, ATA_ACPI_FILTER_SETXFER = 1 << 0,
......
...@@ -13,12 +13,6 @@ ...@@ -13,12 +13,6 @@
#include <linux/device.h> #include <linux/device.h>
#include <scsi/scsi_host.h> #include <scsi/scsi_host.h>
#include <acpi/acpi_bus.h> #include <acpi/acpi_bus.h>
#include <acpi/acnames.h>
#include <acpi/acnamesp.h>
#include <acpi/acparser.h>
#include <acpi/acexcep.h>
#include <acpi/acmacros.h>
#include <acpi/actypes.h>
#include <linux/libata.h> #include <linux/libata.h>
#include <linux/ata.h> #include <linux/ata.h>
......
...@@ -23,8 +23,6 @@ ...@@ -23,8 +23,6 @@
#include <linux/security.h> #include <linux/security.h>
#include <linux/module.h> #include <linux/module.h>
#include <acpi/acpi.h> #include <acpi/acpi.h>
#include <acpi/actypes.h>
#include <acpi/actbl.h>
#include "tpm.h" #include "tpm.h"
#define TCG_EVENT_NAME_LEN_MAX 255 #define TCG_EVENT_NAME_LEN_MAX 255
......
...@@ -18,12 +18,6 @@ ...@@ -18,12 +18,6 @@
#include <linux/dmi.h> #include <linux/dmi.h>
#include <acpi/acpi_bus.h> #include <acpi/acpi_bus.h>
#include <acpi/acnames.h>
#include <acpi/acnamesp.h>
#include <acpi/acparser.h>
#include <acpi/acexcep.h>
#include <acpi/acmacros.h>
#include <acpi/actypes.h>
#define REGS_PER_GTF 7 #define REGS_PER_GTF 7
struct taskfile_array { struct taskfile_array {
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
#include <linux/init.h> #include <linux/init.h>
#include <linux/types.h> #include <linux/types.h>
#include <acpi/acpi.h> #include <acpi/acpi.h>
#include <acpi/actypes.h>
#include <acpi/acpi_bus.h> #include <acpi/acpi_bus.h>
#include <acpi/acpi_drivers.h> #include <acpi/acpi_drivers.h>
#include <linux/platform_device.h> #include <linux/platform_device.h>
......
...@@ -76,7 +76,6 @@ ...@@ -76,7 +76,6 @@
#include <linux/workqueue.h> #include <linux/workqueue.h>
#include <acpi/acpi_drivers.h> #include <acpi/acpi_drivers.h>
#include <acpi/acnamesp.h>
#include <linux/pci_ids.h> #include <linux/pci_ids.h>
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
#include <linux/pci-acpi.h> #include <linux/pci-acpi.h>
#include <acpi/acpi.h> #include <acpi/acpi.h>
#include <acpi/acpi_bus.h> #include <acpi/acpi_bus.h>
#include <acpi/actypes.h>
#define MY_NAME "acpi_pcihp" #define MY_NAME "acpi_pcihp"
......
...@@ -217,7 +217,6 @@ struct hpc_ops { ...@@ -217,7 +217,6 @@ struct hpc_ops {
#ifdef CONFIG_ACPI #ifdef CONFIG_ACPI
#include <acpi/acpi.h> #include <acpi/acpi.h>
#include <acpi/acpi_bus.h> #include <acpi/acpi_bus.h>
#include <acpi/actypes.h>
#include <linux/pci-acpi.h> #include <linux/pci-acpi.h>
static inline int pciehp_get_hp_hw_control_from_firmware(struct pci_dev *dev) static inline int pciehp_get_hp_hw_control_from_firmware(struct pci_dev *dev)
......
...@@ -13,8 +13,6 @@ ...@@ -13,8 +13,6 @@
#include <linux/module.h> #include <linux/module.h>
#include <linux/pci-aspm.h> #include <linux/pci-aspm.h>
#include <acpi/acpi.h> #include <acpi/acpi.h>
#include <acpi/acnamesp.h>
#include <acpi/acresrc.h>
#include <acpi/acpi_bus.h> #include <acpi/acpi_bus.h>
#include <linux/pci-acpi.h> #include <linux/pci-acpi.h>
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
#include <linux/pnp.h> #include <linux/pnp.h>
#include <linux/mod_devicetable.h> #include <linux/mod_devicetable.h>
#include <acpi/acpi_bus.h> #include <acpi/acpi_bus.h>
#include <acpi/actypes.h>
#include "../base.h" #include "../base.h"
#include "pnpacpi.h" #include "pnpacpi.h"
......
...@@ -223,7 +223,6 @@ struct hotplug_params { ...@@ -223,7 +223,6 @@ struct hotplug_params {
#ifdef CONFIG_ACPI #ifdef CONFIG_ACPI
#include <acpi/acpi.h> #include <acpi/acpi.h>
#include <acpi/acpi_bus.h> #include <acpi/acpi_bus.h>
#include <acpi/actypes.h>
extern acpi_status acpi_get_hp_params_from_firmware(struct pci_bus *bus, extern acpi_status acpi_get_hp_params_from_firmware(struct pci_bus *bus,
struct hotplug_params *hpp); struct hotplug_params *hpp);
int acpi_get_hp_hw_control_from_firmware(struct pci_dev *dev, u32 flags); int acpi_get_hp_hw_control_from_firmware(struct pci_dev *dev, u32 flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment