diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-01-12 17:44:09 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-01-12 17:44:09 -0500 |
commit | 98feb7cc61c50fe0fa36eeb994d5db527ca9e103 (patch) | |
tree | 3edae44f2dd6fe7b431786ca9c308250f1345511 /drivers/platform | |
parent | 7e22e91102c6b9df7c4ae2168910e19d2bb14cd6 (diff) | |
parent | f8a571b2a128a1697624c1b132f3af07848ebbcf (diff) |
Merge branch 'acpi-cleanup'
* acpi-cleanup: (22 commits)
ACPI / tables: Return proper error codes from acpi_table_parse() and fix comment.
ACPI / tables: Check if id is NULL in acpi_table_parse()
ACPI / proc: Include appropriate header file in proc.c
ACPI / EC: Remove unused functions and add prototype declaration in internal.h
ACPI / dock: Include appropriate header file in dock.c
ACPI / PCI: Include appropriate header file in pci_link.c
ACPI / PCI: Include appropriate header file in pci_slot.c
ACPI / EC: Mark the function acpi_ec_add_debugfs() as static in ec_sys.c
ACPI / NVS: Include appropriate header file in nvs.c
ACPI / OSL: Mark the function acpi_table_checksum() as static
ACPI / processor: initialize a variable to silence compiler warning
ACPI / processor: use ACPI_COMPANION() to get ACPI device
ACPI: correct minor typos
ACPI / sleep: Drop redundant acpi_disabled check
ACPI / dock: Drop redundant acpi_disabled check
ACPI / table: Replace '1' with specific error return values
ACPI: remove trailing whitespace
ACPI / IBFT: Fix incorrect <acpi/acpi.h> inclusion in iSCSI boot firmware module
ACPI / i915: Fix incorrect <acpi/acpi.h> inclusions via <linux/acpi_io.h>
SFI / ACPI: Fix warnings reported during builds with W=1
...
Conflicts:
drivers/acpi/nvs.c
drivers/hwmon/asus_atk0110.c
Diffstat (limited to 'drivers/platform')
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 | ||
48 | MODULE_AUTHOR("Carlos Corbacho"); | 46 | MODULE_AUTHOR("Carlos Corbacho"); |
diff --git a/drivers/platform/x86/asus-laptop.c b/drivers/platform/x86/asus-laptop.c index 594323a926cf..7f4dc6f51f8a 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 | ||
29 | MODULE_LICENSE("GPL"); | 29 | MODULE_LICENSE("GPL"); |
30 | 30 | ||
31 | |||
32 | struct cmpc_accel { | 31 | struct 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 60e0900bc117..390e8e33d5e3 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 dec68e7a99c7..bcde1ea02dd3 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 19ec95147f69..6dd060a0bb65 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 | ||
25 | MODULE_LICENSE("GPL"); | 25 | MODULE_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 | ||
24 | MODULE_LICENSE("GPL"); | 24 | MODULE_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 | ||
44 | MODULE_AUTHOR("Thomas Sujith"); | 42 | MODULE_AUTHOR("Thomas Sujith"); |
45 | MODULE_AUTHOR("Zhang Rui"); | 43 | MODULE_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 | ||
26 | MODULE_AUTHOR("Dave Airlie"); | 25 | MODULE_AUTHOR("Dave Airlie"); |
27 | MODULE_DESCRIPTION("MXM WMI Driver"); | 26 | MODULE_DESCRIPTION("MXM WMI Driver"); |
diff --git a/drivers/platform/x86/panasonic-laptop.c b/drivers/platform/x86/panasonic-laptop.c index 3008fd20572e..609d38779b26 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 | ||
30 | MODULE_AUTHOR("Hu Tao <hutao@cn.fujitsu.com>"); | 29 | MODULE_AUTHOR("Hu Tao <hutao@cn.fujitsu.com>"); |
31 | MODULE_DESCRIPTION("pvpanic device driver"); | 30 | MODULE_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 fb233ae7bb0e..563e4f595f83 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, ...) \ |
76 | do { \ | 74 | do { \ |
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 58b0274d24cc..defb6afc1409 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 7fce391818d3..7ad1ed091f92 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 | |||
62 | MODULE_AUTHOR("John Belmonte"); | 60 | MODULE_AUTHOR("John Belmonte"); |
63 | MODULE_DESCRIPTION("Toshiba Laptop ACPI Extras Driver"); | 61 | MODULE_DESCRIPTION("Toshiba Laptop ACPI Extras Driver"); |
64 | MODULE_LICENSE("GPL"); | 62 | MODULE_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 | ||
29 | MODULE_AUTHOR("Jes Sorensen <Jes.Sorensen@gmail.com>"); | 28 | MODULE_AUTHOR("Jes Sorensen <Jes.Sorensen@gmail.com>"); |
30 | MODULE_DESCRIPTION("Toshiba Laptop ACPI Bluetooth Enable Driver"); | 29 | MODULE_DESCRIPTION("Toshiba Laptop ACPI Bluetooth Enable Driver"); |
31 | MODULE_LICENSE("GPL"); | 30 | MODULE_LICENSE("GPL"); |
32 | 31 | ||
33 | |||
34 | static int toshiba_bt_rfkill_add(struct acpi_device *device); | 32 | static int toshiba_bt_rfkill_add(struct acpi_device *device); |
35 | static int toshiba_bt_rfkill_remove(struct acpi_device *device); | 33 | static int toshiba_bt_rfkill_remove(struct acpi_device *device); |
36 | static void toshiba_bt_rfkill_notify(struct acpi_device *device, u32 event); | 34 | static 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 c2e7b2657aeb..43d13295e63d 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 | ||
43 | ACPI_MODULE_NAME("wmi"); | 41 | ACPI_MODULE_NAME("wmi"); |
44 | MODULE_AUTHOR("Carlos Corbacho"); | 42 | MODULE_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 | ||