aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/platform
diff options
context:
space:
mode:
authorLv Zheng <lv.zheng@intel.com>2013-12-02 19:49:16 -0500
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2013-12-06 19:03:14 -0500
commit8b48463f89429af408ff695244dc627e1acff4f7 (patch)
tree7870e8c2e8ed42df90ba79a809f1ec57656fedaf /drivers/platform
parent6ce4eac1f600b34f2f7f58f9cd8f0503d79e42ae (diff)
ACPI: Clean up inclusions of ACPI header files
Replace direct inclusions of <acpi/acpi.h>, <acpi/acpi_bus.h> and <acpi/acpi_drivers.h>, which are incorrect, with <linux/acpi.h> inclusions and remove some inclusions of those files that aren't necessary. First of all, <acpi/acpi.h>, <acpi/acpi_bus.h> and <acpi/acpi_drivers.h> should not be included directly from any files that are built for CONFIG_ACPI unset, because that generally leads to build warnings about undefined symbols in !CONFIG_ACPI builds. For CONFIG_ACPI set, <linux/acpi.h> includes those files and for CONFIG_ACPI unset it provides stub ACPI symbols to be used in that case. Second, there are ordering dependencies between those files that always have to be met. Namely, it is required that <acpi/acpi_bus.h> be included prior to <acpi/acpi_drivers.h> so that the acpi_pci_root declarations the latter depends on are always there. And <acpi/acpi.h> which provides basic ACPICA type declarations should always be included prior to any other ACPI headers in CONFIG_ACPI builds. That also is taken care of including <linux/acpi.h> as appropriate. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Cc: Matthew Garrett <mjg59@srcf.ucam.org> Cc: Tony Luck <tony.luck@intel.com> Cc: "H. Peter Anvin" <hpa@zytor.com> Acked-by: Bjorn Helgaas <bhelgaas@google.com> (drivers/pci stuff) Acked-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com> (Xen stuff) Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/platform')
-rw-r--r--drivers/platform/x86/acer-wmi.c2
-rw-r--r--drivers/platform/x86/asus-laptop.c3
-rw-r--r--drivers/platform/x86/asus-wmi.c3
-rw-r--r--drivers/platform/x86/classmate-laptop.c3
-rw-r--r--drivers/platform/x86/dell-wmi-aio.c1
-rw-r--r--drivers/platform/x86/dell-wmi.c1
-rw-r--r--drivers/platform/x86/eeepc-laptop.c3
-rw-r--r--drivers/platform/x86/eeepc-wmi.c2
-rw-r--r--drivers/platform/x86/hp_accel.c2
-rw-r--r--drivers/platform/x86/ideapad-laptop.c3
-rw-r--r--drivers/platform/x86/intel-rst.c2
-rw-r--r--drivers/platform/x86/intel-smartconnect.c2
-rw-r--r--drivers/platform/x86/intel_menlow.c4
-rw-r--r--drivers/platform/x86/intel_oaktrail.c3
-rw-r--r--drivers/platform/x86/mxm-wmi.c3
-rw-r--r--drivers/platform/x86/panasonic-laptop.c4
-rw-r--r--drivers/platform/x86/pvpanic.c3
-rw-r--r--drivers/platform/x86/samsung-q10.c2
-rw-r--r--drivers/platform/x86/sony-laptop.c4
-rw-r--r--drivers/platform/x86/tc1100-wmi.c4
-rw-r--r--drivers/platform/x86/thinkpad_acpi.c14
-rw-r--r--drivers/platform/x86/toshiba_acpi.c4
-rw-r--r--drivers/platform/x86/toshiba_bluetooth.c4
-rw-r--r--drivers/platform/x86/wmi.c2
-rw-r--r--drivers/platform/x86/xo15-ebook.c3
25 files changed, 23 insertions, 58 deletions
diff --git a/drivers/platform/x86/acer-wmi.c b/drivers/platform/x86/acer-wmi.c
index c9076bdaf2c1..c91f69b39db4 100644
--- a/drivers/platform/x86/acer-wmi.c
+++ b/drivers/platform/x86/acer-wmi.c
@@ -41,8 +41,6 @@
41#include <linux/slab.h> 41#include <linux/slab.h>
42#include <linux/input.h> 42#include <linux/input.h>
43#include <linux/input/sparse-keymap.h> 43#include <linux/input/sparse-keymap.h>
44
45#include <acpi/acpi_drivers.h>
46#include <acpi/video.h> 44#include <acpi/video.h>
47 45
48MODULE_AUTHOR("Carlos Corbacho"); 46MODULE_AUTHOR("Carlos Corbacho");
diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c
index 0e9c169b42f8..430b5c3c46b4 100644
--- a/drivers/platform/x86/asus-laptop.c
+++ b/drivers/platform/x86/asus-laptop.c
@@ -53,8 +53,7 @@
53#include <linux/rfkill.h> 53#include <linux/rfkill.h>
54#include <linux/slab.h> 54#include <linux/slab.h>
55#include <linux/dmi.h> 55#include <linux/dmi.h>
56#include <acpi/acpi_drivers.h> 56#include <linux/acpi.h>
57#include <acpi/acpi_bus.h>
58 57
59#define ASUS_LAPTOP_VERSION "0.42" 58#define ASUS_LAPTOP_VERSION "0.42"
60 59
diff --git a/drivers/platform/x86/asus-wmi.c b/drivers/platform/x86/asus-wmi.c
index 19c313b056c3..df7ecb9ecd9d 100644
--- a/drivers/platform/x86/asus-wmi.c
+++ b/drivers/platform/x86/asus-wmi.c
@@ -45,8 +45,7 @@
45#include <linux/seq_file.h> 45#include <linux/seq_file.h>
46#include <linux/platform_device.h> 46#include <linux/platform_device.h>
47#include <linux/thermal.h> 47#include <linux/thermal.h>
48#include <acpi/acpi_bus.h> 48#include <linux/acpi.h>
49#include <acpi/acpi_drivers.h>
50#include <acpi/video.h> 49#include <acpi/video.h>
51 50
52#include "asus-wmi.h" 51#include "asus-wmi.h"
diff --git a/drivers/platform/x86/classmate-laptop.c b/drivers/platform/x86/classmate-laptop.c
index 6dfa8d3b4eec..70d355a9ae2c 100644
--- a/drivers/platform/x86/classmate-laptop.c
+++ b/drivers/platform/x86/classmate-laptop.c
@@ -21,14 +21,13 @@
21#include <linux/module.h> 21#include <linux/module.h>
22#include <linux/slab.h> 22#include <linux/slab.h>
23#include <linux/workqueue.h> 23#include <linux/workqueue.h>
24#include <acpi/acpi_drivers.h> 24#include <linux/acpi.h>
25#include <linux/backlight.h> 25#include <linux/backlight.h>
26#include <linux/input.h> 26#include <linux/input.h>
27#include <linux/rfkill.h> 27#include <linux/rfkill.h>
28 28
29MODULE_LICENSE("GPL"); 29MODULE_LICENSE("GPL");
30 30
31
32struct cmpc_accel { 31struct cmpc_accel {
33 int sensitivity; 32 int sensitivity;
34 int g_select; 33 int g_select;
diff --git a/drivers/platform/x86/dell-wmi-aio.c b/drivers/platform/x86/dell-wmi-aio.c
index bcf8cc6b5537..dbc97a33bbc8 100644
--- a/drivers/platform/x86/dell-wmi-aio.c
+++ b/drivers/platform/x86/dell-wmi-aio.c
@@ -24,7 +24,6 @@
24#include <linux/types.h> 24#include <linux/types.h>
25#include <linux/input.h> 25#include <linux/input.h>
26#include <linux/input/sparse-keymap.h> 26#include <linux/input/sparse-keymap.h>
27#include <acpi/acpi_drivers.h>
28#include <linux/acpi.h> 27#include <linux/acpi.h>
29#include <linux/string.h> 28#include <linux/string.h>
30 29
diff --git a/drivers/platform/x86/dell-wmi.c b/drivers/platform/x86/dell-wmi.c
index fa9a2171cc13..bdf483babb43 100644
--- a/drivers/platform/x86/dell-wmi.c
+++ b/drivers/platform/x86/dell-wmi.c
@@ -32,7 +32,6 @@
32#include <linux/types.h> 32#include <linux/types.h>
33#include <linux/input.h> 33#include <linux/input.h>
34#include <linux/input/sparse-keymap.h> 34#include <linux/input/sparse-keymap.h>
35#include <acpi/acpi_drivers.h>
36#include <linux/acpi.h> 35#include <linux/acpi.h>
37#include <linux/string.h> 36#include <linux/string.h>
38#include <linux/dmi.h> 37#include <linux/dmi.h>
diff --git a/drivers/platform/x86/eeepc-laptop.c b/drivers/platform/x86/eeepc-laptop.c
index aefcc32e5634..cabd56700cae 100644
--- a/drivers/platform/x86/eeepc-laptop.c
+++ b/drivers/platform/x86/eeepc-laptop.c
@@ -28,8 +28,7 @@
28#include <linux/hwmon.h> 28#include <linux/hwmon.h>
29#include <linux/hwmon-sysfs.h> 29#include <linux/hwmon-sysfs.h>
30#include <linux/slab.h> 30#include <linux/slab.h>
31#include <acpi/acpi_drivers.h> 31#include <linux/acpi.h>
32#include <acpi/acpi_bus.h>
33#include <linux/uaccess.h> 32#include <linux/uaccess.h>
34#include <linux/input.h> 33#include <linux/input.h>
35#include <linux/input/sparse-keymap.h> 34#include <linux/input/sparse-keymap.h>
diff --git a/drivers/platform/x86/eeepc-wmi.c b/drivers/platform/x86/eeepc-wmi.c
index af67e6e56ebb..6112933f6278 100644
--- a/drivers/platform/x86/eeepc-wmi.c
+++ b/drivers/platform/x86/eeepc-wmi.c
@@ -33,7 +33,7 @@
33#include <linux/input/sparse-keymap.h> 33#include <linux/input/sparse-keymap.h>
34#include <linux/dmi.h> 34#include <linux/dmi.h>
35#include <linux/fb.h> 35#include <linux/fb.h>
36#include <acpi/acpi_bus.h> 36#include <linux/acpi.h>
37 37
38#include "asus-wmi.h" 38#include "asus-wmi.h"
39 39
diff --git a/drivers/platform/x86/hp_accel.c b/drivers/platform/x86/hp_accel.c
index a8e43cf70fac..aff4d0670edf 100644
--- a/drivers/platform/x86/hp_accel.c
+++ b/drivers/platform/x86/hp_accel.c
@@ -36,7 +36,7 @@
36#include <linux/uaccess.h> 36#include <linux/uaccess.h>
37#include <linux/leds.h> 37#include <linux/leds.h>
38#include <linux/atomic.h> 38#include <linux/atomic.h>
39#include <acpi/acpi_drivers.h> 39#include <linux/acpi.h>
40#include "../../misc/lis3lv02d/lis3lv02d.h" 40#include "../../misc/lis3lv02d/lis3lv02d.h"
41 41
42#define DRIVER_NAME "hp_accel" 42#define DRIVER_NAME "hp_accel"
diff --git a/drivers/platform/x86/ideapad-laptop.c b/drivers/platform/x86/ideapad-laptop.c
index 6788acc22ab9..70b57295d0a0 100644
--- a/drivers/platform/x86/ideapad-laptop.c
+++ b/drivers/platform/x86/ideapad-laptop.c
@@ -26,8 +26,7 @@
26#include <linux/module.h> 26#include <linux/module.h>
27#include <linux/init.h> 27#include <linux/init.h>
28#include <linux/types.h> 28#include <linux/types.h>
29#include <acpi/acpi_bus.h> 29#include <linux/acpi.h>
30#include <acpi/acpi_drivers.h>
31#include <linux/rfkill.h> 30#include <linux/rfkill.h>
32#include <linux/platform_device.h> 31#include <linux/platform_device.h>
33#include <linux/input.h> 32#include <linux/input.h>
diff --git a/drivers/platform/x86/intel-rst.c b/drivers/platform/x86/intel-rst.c
index a2083a9e5662..d45bca34bf1b 100644
--- a/drivers/platform/x86/intel-rst.c
+++ b/drivers/platform/x86/intel-rst.c
@@ -20,7 +20,7 @@
20#include <linux/init.h> 20#include <linux/init.h>
21#include <linux/module.h> 21#include <linux/module.h>
22#include <linux/slab.h> 22#include <linux/slab.h>
23#include <acpi/acpi_drivers.h> 23#include <linux/acpi.h>
24 24
25MODULE_LICENSE("GPL"); 25MODULE_LICENSE("GPL");
26 26
diff --git a/drivers/platform/x86/intel-smartconnect.c b/drivers/platform/x86/intel-smartconnect.c
index 1838400dc036..04cf5dffdfd9 100644
--- a/drivers/platform/x86/intel-smartconnect.c
+++ b/drivers/platform/x86/intel-smartconnect.c
@@ -19,7 +19,7 @@
19 19
20#include <linux/init.h> 20#include <linux/init.h>
21#include <linux/module.h> 21#include <linux/module.h>
22#include <acpi/acpi_drivers.h> 22#include <linux/acpi.h>
23 23
24MODULE_LICENSE("GPL"); 24MODULE_LICENSE("GPL");
25 25
diff --git a/drivers/platform/x86/intel_menlow.c b/drivers/platform/x86/intel_menlow.c
index 11244f8703c4..e8b46d2c468c 100644
--- a/drivers/platform/x86/intel_menlow.c
+++ b/drivers/platform/x86/intel_menlow.c
@@ -36,10 +36,8 @@
36#include <linux/types.h> 36#include <linux/types.h>
37#include <linux/pci.h> 37#include <linux/pci.h>
38#include <linux/pm.h> 38#include <linux/pm.h>
39
40#include <linux/thermal.h> 39#include <linux/thermal.h>
41#include <acpi/acpi_bus.h> 40#include <linux/acpi.h>
42#include <acpi/acpi_drivers.h>
43 41
44MODULE_AUTHOR("Thomas Sujith"); 42MODULE_AUTHOR("Thomas Sujith");
45MODULE_AUTHOR("Zhang Rui"); 43MODULE_AUTHOR("Zhang Rui");
diff --git a/drivers/platform/x86/intel_oaktrail.c b/drivers/platform/x86/intel_oaktrail.c
index f6f18cde0f11..4bc960416785 100644
--- a/drivers/platform/x86/intel_oaktrail.c
+++ b/drivers/platform/x86/intel_oaktrail.c
@@ -50,9 +50,6 @@
50#include <linux/platform_device.h> 50#include <linux/platform_device.h>
51#include <linux/dmi.h> 51#include <linux/dmi.h>
52#include <linux/rfkill.h> 52#include <linux/rfkill.h>
53#include <acpi/acpi_bus.h>
54#include <acpi/acpi_drivers.h>
55
56 53
57#define DRIVER_NAME "intel_oaktrail" 54#define DRIVER_NAME "intel_oaktrail"
58#define DRIVER_VERSION "0.4ac1" 55#define DRIVER_VERSION "0.4ac1"
diff --git a/drivers/platform/x86/mxm-wmi.c b/drivers/platform/x86/mxm-wmi.c
index 0aea63b3729a..3c59c0a3ee0f 100644
--- a/drivers/platform/x86/mxm-wmi.c
+++ b/drivers/platform/x86/mxm-wmi.c
@@ -20,8 +20,7 @@
20#include <linux/kernel.h> 20#include <linux/kernel.h>
21#include <linux/module.h> 21#include <linux/module.h>
22#include <linux/init.h> 22#include <linux/init.h>
23#include <acpi/acpi_bus.h> 23#include <linux/acpi.h>
24#include <acpi/acpi_drivers.h>
25 24
26MODULE_AUTHOR("Dave Airlie"); 25MODULE_AUTHOR("Dave Airlie");
27MODULE_DESCRIPTION("MXM WMI Driver"); 26MODULE_DESCRIPTION("MXM WMI Driver");
diff --git a/drivers/platform/x86/panasonic-laptop.c b/drivers/platform/x86/panasonic-laptop.c
index 10d12b221601..137d602395e8 100644
--- a/drivers/platform/x86/panasonic-laptop.c
+++ b/drivers/platform/x86/panasonic-laptop.c
@@ -125,12 +125,10 @@
125#include <linux/seq_file.h> 125#include <linux/seq_file.h>
126#include <linux/uaccess.h> 126#include <linux/uaccess.h>
127#include <linux/slab.h> 127#include <linux/slab.h>
128#include <acpi/acpi_bus.h> 128#include <linux/acpi.h>
129#include <acpi/acpi_drivers.h>
130#include <linux/input.h> 129#include <linux/input.h>
131#include <linux/input/sparse-keymap.h> 130#include <linux/input/sparse-keymap.h>
132 131
133
134#ifndef ACPI_HOTKEY_COMPONENT 132#ifndef ACPI_HOTKEY_COMPONENT
135#define ACPI_HOTKEY_COMPONENT 0x10000000 133#define ACPI_HOTKEY_COMPONENT 0x10000000
136#endif 134#endif
diff --git a/drivers/platform/x86/pvpanic.c b/drivers/platform/x86/pvpanic.c
index 47ae0c47d4b5..c9f6e511daa6 100644
--- a/drivers/platform/x86/pvpanic.c
+++ b/drivers/platform/x86/pvpanic.c
@@ -24,8 +24,7 @@
24#include <linux/module.h> 24#include <linux/module.h>
25#include <linux/init.h> 25#include <linux/init.h>
26#include <linux/types.h> 26#include <linux/types.h>
27#include <acpi/acpi_bus.h> 27#include <linux/acpi.h>
28#include <acpi/acpi_drivers.h>
29 28
30MODULE_AUTHOR("Hu Tao <hutao@cn.fujitsu.com>"); 29MODULE_AUTHOR("Hu Tao <hutao@cn.fujitsu.com>");
31MODULE_DESCRIPTION("pvpanic device driver"); 30MODULE_DESCRIPTION("pvpanic device driver");
diff --git a/drivers/platform/x86/samsung-q10.c b/drivers/platform/x86/samsung-q10.c
index cae7098e9b0d..5413f62d2e61 100644
--- a/drivers/platform/x86/samsung-q10.c
+++ b/drivers/platform/x86/samsung-q10.c
@@ -15,7 +15,7 @@
15#include <linux/platform_device.h> 15#include <linux/platform_device.h>
16#include <linux/backlight.h> 16#include <linux/backlight.h>
17#include <linux/dmi.h> 17#include <linux/dmi.h>
18#include <acpi/acpi_drivers.h> 18#include <linux/acpi.h>
19 19
20#define SAMSUNGQ10_BL_MAX_INTENSITY 7 20#define SAMSUNGQ10_BL_MAX_INTENSITY 7
21 21
diff --git a/drivers/platform/x86/sony-laptop.c b/drivers/platform/x86/sony-laptop.c
index 47caab0ea7a1..1d00039de72a 100644
--- a/drivers/platform/x86/sony-laptop.c
+++ b/drivers/platform/x86/sony-laptop.c
@@ -61,9 +61,6 @@
61#include <linux/workqueue.h> 61#include <linux/workqueue.h>
62#include <linux/acpi.h> 62#include <linux/acpi.h>
63#include <linux/slab.h> 63#include <linux/slab.h>
64#include <acpi/acpi_drivers.h>
65#include <acpi/acpi_bus.h>
66#include <asm/uaccess.h>
67#include <linux/sonypi.h> 64#include <linux/sonypi.h>
68#include <linux/sony-laptop.h> 65#include <linux/sony-laptop.h>
69#include <linux/rfkill.h> 66#include <linux/rfkill.h>
@@ -71,6 +68,7 @@
71#include <linux/poll.h> 68#include <linux/poll.h>
72#include <linux/miscdevice.h> 69#include <linux/miscdevice.h>
73#endif 70#endif
71#include <asm/uaccess.h>
74 72
75#define dprintk(fmt, ...) \ 73#define dprintk(fmt, ...) \
76do { \ 74do { \
diff --git a/drivers/platform/x86/tc1100-wmi.c b/drivers/platform/x86/tc1100-wmi.c
index 9b93fdb61ed7..6a6ea28a7e51 100644
--- a/drivers/platform/x86/tc1100-wmi.c
+++ b/drivers/platform/x86/tc1100-wmi.c
@@ -32,9 +32,7 @@
32#include <linux/slab.h> 32#include <linux/slab.h>
33#include <linux/init.h> 33#include <linux/init.h>
34#include <linux/types.h> 34#include <linux/types.h>
35#include <acpi/acpi.h> 35#include <linux/acpi.h>
36#include <acpi/acpi_bus.h>
37#include <acpi/acpi_drivers.h>
38#include <linux/platform_device.h> 36#include <linux/platform_device.h>
39 37
40#define GUID "C364AC71-36DB-495A-8494-B439D472A505" 38#define GUID "C364AC71-36DB-495A-8494-B439D472A505"
diff --git a/drivers/platform/x86/thinkpad_acpi.c b/drivers/platform/x86/thinkpad_acpi.c
index 05e046aa5e31..9d7e34b0109c 100644
--- a/drivers/platform/x86/thinkpad_acpi.c
+++ b/drivers/platform/x86/thinkpad_acpi.c
@@ -61,7 +61,6 @@
61#include <linux/freezer.h> 61#include <linux/freezer.h>
62#include <linux/delay.h> 62#include <linux/delay.h>
63#include <linux/slab.h> 63#include <linux/slab.h>
64
65#include <linux/nvram.h> 64#include <linux/nvram.h>
66#include <linux/proc_fs.h> 65#include <linux/proc_fs.h>
67#include <linux/seq_file.h> 66#include <linux/seq_file.h>
@@ -74,21 +73,16 @@
74#include <linux/input.h> 73#include <linux/input.h>
75#include <linux/leds.h> 74#include <linux/leds.h>
76#include <linux/rfkill.h> 75#include <linux/rfkill.h>
77#include <asm/uaccess.h>
78
79#include <linux/dmi.h> 76#include <linux/dmi.h>
80#include <linux/jiffies.h> 77#include <linux/jiffies.h>
81#include <linux/workqueue.h> 78#include <linux/workqueue.h>
82 79#include <linux/acpi.h>
80#include <linux/pci_ids.h>
81#include <linux/thinkpad_acpi.h>
83#include <sound/core.h> 82#include <sound/core.h>
84#include <sound/control.h> 83#include <sound/control.h>
85#include <sound/initval.h> 84#include <sound/initval.h>
86 85#include <asm/uaccess.h>
87#include <acpi/acpi_drivers.h>
88
89#include <linux/pci_ids.h>
90
91#include <linux/thinkpad_acpi.h>
92 86
93/* ThinkPad CMOS commands */ 87/* ThinkPad CMOS commands */
94#define TP_CMOS_VOLUME_DOWN 0 88#define TP_CMOS_VOLUME_DOWN 0
diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c
index 0cfadb65f7c6..b5f17eb7ad2e 100644
--- a/drivers/platform/x86/toshiba_acpi.c
+++ b/drivers/platform/x86/toshiba_acpi.c
@@ -54,11 +54,9 @@
54#include <linux/slab.h> 54#include <linux/slab.h>
55#include <linux/workqueue.h> 55#include <linux/workqueue.h>
56#include <linux/i8042.h> 56#include <linux/i8042.h>
57 57#include <linux/acpi.h>
58#include <asm/uaccess.h> 58#include <asm/uaccess.h>
59 59
60#include <acpi/acpi_drivers.h>
61
62MODULE_AUTHOR("John Belmonte"); 60MODULE_AUTHOR("John Belmonte");
63MODULE_DESCRIPTION("Toshiba Laptop ACPI Extras Driver"); 61MODULE_DESCRIPTION("Toshiba Laptop ACPI Extras Driver");
64MODULE_LICENSE("GPL"); 62MODULE_LICENSE("GPL");
diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetooth.c
index 74dd01ae343b..2cb1ea62b4a7 100644
--- a/drivers/platform/x86/toshiba_bluetooth.c
+++ b/drivers/platform/x86/toshiba_bluetooth.c
@@ -23,14 +23,12 @@
23#include <linux/module.h> 23#include <linux/module.h>
24#include <linux/init.h> 24#include <linux/init.h>
25#include <linux/types.h> 25#include <linux/types.h>
26#include <acpi/acpi_bus.h> 26#include <linux/acpi.h>
27#include <acpi/acpi_drivers.h>
28 27
29MODULE_AUTHOR("Jes Sorensen <Jes.Sorensen@gmail.com>"); 28MODULE_AUTHOR("Jes Sorensen <Jes.Sorensen@gmail.com>");
30MODULE_DESCRIPTION("Toshiba Laptop ACPI Bluetooth Enable Driver"); 29MODULE_DESCRIPTION("Toshiba Laptop ACPI Bluetooth Enable Driver");
31MODULE_LICENSE("GPL"); 30MODULE_LICENSE("GPL");
32 31
33
34static int toshiba_bt_rfkill_add(struct acpi_device *device); 32static int toshiba_bt_rfkill_add(struct acpi_device *device);
35static int toshiba_bt_rfkill_remove(struct acpi_device *device); 33static int toshiba_bt_rfkill_remove(struct acpi_device *device);
36static void toshiba_bt_rfkill_notify(struct acpi_device *device, u32 event); 34static void toshiba_bt_rfkill_notify(struct acpi_device *device, u32 event);
diff --git a/drivers/platform/x86/wmi.c b/drivers/platform/x86/wmi.c
index 62e8c221d01e..ba13adea08b0 100644
--- a/drivers/platform/x86/wmi.c
+++ b/drivers/platform/x86/wmi.c
@@ -37,8 +37,6 @@
37#include <linux/acpi.h> 37#include <linux/acpi.h>
38#include <linux/slab.h> 38#include <linux/slab.h>
39#include <linux/module.h> 39#include <linux/module.h>
40#include <acpi/acpi_bus.h>
41#include <acpi/acpi_drivers.h>
42 40
43ACPI_MODULE_NAME("wmi"); 41ACPI_MODULE_NAME("wmi");
44MODULE_AUTHOR("Carlos Corbacho"); 42MODULE_AUTHOR("Carlos Corbacho");
diff --git a/drivers/platform/x86/xo15-ebook.c b/drivers/platform/x86/xo15-ebook.c
index 4b1377bd5944..49cbccec6e2d 100644
--- a/drivers/platform/x86/xo15-ebook.c
+++ b/drivers/platform/x86/xo15-ebook.c
@@ -18,8 +18,7 @@
18#include <linux/init.h> 18#include <linux/init.h>
19#include <linux/types.h> 19#include <linux/types.h>
20#include <linux/input.h> 20#include <linux/input.h>
21#include <acpi/acpi_bus.h> 21#include <linux/acpi.h>
22#include <acpi/acpi_drivers.h>
23 22
24#define MODULE_NAME "xo15-ebook" 23#define MODULE_NAME "xo15-ebook"
25 24