linux-stable/drivers/input/misc
Lv Zheng 8b48463f89 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>
2013-12-07 01:03:14 +01:00
..
88pm80x_onkey.c
88pm860x_onkey.c
ab8500-ponkey.c Input: ab8500-ponkey - remove redundant platform_set_drvdata() 2013-05-05 20:13:43 -07:00
ad714x-i2c.c Input: ad714x - add CONFIG_PM_SLEEP to suspend/resume functions 2013-03-26 22:09:55 -07:00
ad714x-spi.c Input: ad714x-spi - remove redundant spi_set_drvdata 2013-09-20 09:58:24 -07:00
ad714x.c
ad714x.h
adxl34x-i2c.c Input: adxl34x - add CONFIG_PM_SLEEP to suspend/resume functions 2013-03-26 22:09:51 -07:00
adxl34x-spi.c Input: adxl34x - use spi_get_drvdata() 2013-04-07 21:02:29 -07:00
adxl34x.c
adxl34x.h
apanel.c
arizona-haptics.c
ati_remote2.c
atlas_btns.c ACPI: Clean up inclusions of ACPI header files 2013-12-07 01:03:14 +01:00
bfin_rotary.c Input: bfin_rotary - remove redundant platform_set_drvdata() 2013-05-05 20:13:53 -07:00
bma150.c
cm109.c Input: cm109 - convert high volume dev_err() to dev_err_ratelimited() 2013-10-06 01:23:41 -07:00
cma3000_d0x.c
cma3000_d0x.h
cma3000_d0x_i2c.c
cobalt_btns.c Input: cobalt_btns - remove redundant dev_set_drvdata 2013-09-18 07:53:12 -07:00
da9052_onkey.c
da9055_onkey.c treewide: relase -> release 2013-06-28 14:34:33 +02:00
dm355evm_keys.c
gp2ap002a00f.c
gpio_tilt_polled.c Input: gpio_tilt_polled - remove redundant platform_set_drvdata() 2013-05-05 20:14:03 -07:00
hp_sdc_rtc.c input: single_open() leak 2013-05-05 00:12:56 -04:00
ideapad_slidebar.c Input: add driver for slidebar on Lenovo IdeaPad laptops 2013-08-26 09:30:03 -07:00
ims-pcu.c Input: ims-pcu - fix a memory leak on error 2013-04-01 22:23:30 -07:00
ixp4xx-beeper.c input: misc: ixp4-beeper: use gpiolib strictly 2013-09-27 14:15:20 +02:00
Kconfig Input: fix PWM-related undefined reference errors 2013-10-22 16:02:28 -07:00
keyspan_remote.c
kxtj9.c
m68kspkr.c Input: m68kspkr - remove redundant platform_set_drvdata() 2013-05-28 00:57:41 -07:00
Makefile Input: add driver for slidebar on Lenovo IdeaPad laptops 2013-08-26 09:30:03 -07:00
max8925_onkey.c Input: max8925_onkey - remove redundant platform_set_drvdata() 2013-05-05 20:14:06 -07:00
max8997_haptic.c
mc13783-pwrbutton.c Input: mc13783-pwrbutton - remove redundant platform_set_drvdata() 2013-05-05 20:14:10 -07:00
mma8450.c Input: mma8450 - add missing i2c_set_clientdata() in mma8450_probe() 2013-11-11 00:01:44 -08:00
mpu3050.c Input: mpu3050 - add missing i2c_set_clientdata() in mpu3050_probe() 2013-11-11 00:01:44 -08:00
pcap_keys.c
pcf8574_keypad.c
pcf50633-input.c
pcspkr.c Input: pcspkr - remove redundant platform_set_drvdata() 2013-05-28 00:57:45 -07:00
pm8xxx-vibrator.c Input: pm8xxx-vibrator - remove redundant platform_set_drvdata() 2013-05-05 20:14:14 -07:00
pmic8xxx-pwrkey.c Input: pmic8xxx-pwrkey - pass correct pointer to free_irq() 2013-05-23 09:38:38 -07:00
powermate.c
pwm-beeper.c Input: pwm-beeper - include linux/of.h header 2013-10-06 01:22:28 -07:00
rb532_button.c Input: rb532_button - remove redundant dev_set_drvdata 2013-09-18 07:53:41 -07:00
retu-pwrbutton.c
rotary_encoder.c Input: rotary_encoder - include linux/of.h header 2013-10-06 01:22:28 -07:00
sgi_btns.c Input: misc - use platform_{get,set}_drvdata() 2013-05-23 09:34:13 -07:00
sirfsoc-onkey.c Input: sirfsoc-onkey - remove redundant of_match_ptr 2013-10-06 01:22:25 -07:00
sparcspkr.c Input: misc - use platform_{get,set}_drvdata() 2013-05-23 09:34:13 -07:00
twl4030-pwrbutton.c Input: twl4030-pwrbutton - use module_platform_driver_probe macro 2013-03-17 21:37:14 -07:00
twl4030-vibra.c
twl6040-vibra.c Input: twl6040-vibra - remove support for legacy (pdata) mode 2013-08-12 22:30:39 -07:00
uinput.c Input: uinput - support injecting multiple events in one write() call 2013-09-19 08:57:56 -07:00
wistron_btns.c Input: wistron_btns - add MODULE_DEVICE_TABLE 2013-08-13 09:52:17 -07:00
wm831x-on.c
xen-kbdfront.c
yealink.c
yealink.h