1
0
Fork 0
mirror of synced 2025-03-06 20:59:54 +01:00

platform: surface: Propagate ACPI Dependency

Since the Surface XBL Driver does not depend on ACPI, the
platform/surface directory as a whole no longer depends on ACPI. With
respect to this, the ACPI dependency is moved into each config that depends
on ACPI individually.

Signed-off-by: Jarrett Schultz <jaschultz@microsoft.com>
Link: https://lore.kernel.org/r/20211202191630.12450-3-jaschultz@microsoft.com
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
Jarrett Schultz 2021-12-02 11:16:27 -08:00 committed by Hans de Goede
parent 1c5ec99891
commit 2724799281
2 changed files with 7 additions and 1 deletions

View file

@ -5,7 +5,6 @@
menuconfig SURFACE_PLATFORMS menuconfig SURFACE_PLATFORMS
bool "Microsoft Surface Platform-Specific Device Drivers" bool "Microsoft Surface Platform-Specific Device Drivers"
depends on ACPI
default y default y
help help
Say Y here to get to see options for platform-specific device drivers Say Y here to get to see options for platform-specific device drivers
@ -30,12 +29,14 @@ config SURFACE3_WMI
config SURFACE_3_BUTTON config SURFACE_3_BUTTON
tristate "Power/home/volume buttons driver for Microsoft Surface 3 tablet" tristate "Power/home/volume buttons driver for Microsoft Surface 3 tablet"
depends on ACPI
depends on KEYBOARD_GPIO && I2C depends on KEYBOARD_GPIO && I2C
help help
This driver handles the power/home/volume buttons on the Microsoft Surface 3 tablet. This driver handles the power/home/volume buttons on the Microsoft Surface 3 tablet.
config SURFACE_3_POWER_OPREGION config SURFACE_3_POWER_OPREGION
tristate "Surface 3 battery platform operation region support" tristate "Surface 3 battery platform operation region support"
depends on ACPI
depends on I2C depends on I2C
help help
This driver provides support for ACPI operation This driver provides support for ACPI operation
@ -126,6 +127,7 @@ config SURFACE_DTX
config SURFACE_GPE config SURFACE_GPE
tristate "Surface GPE/Lid Support Driver" tristate "Surface GPE/Lid Support Driver"
depends on ACPI
depends on DMI depends on DMI
help help
This driver marks the GPEs related to the ACPI lid device found on This driver marks the GPEs related to the ACPI lid device found on
@ -135,6 +137,7 @@ config SURFACE_GPE
config SURFACE_HOTPLUG config SURFACE_HOTPLUG
tristate "Surface Hot-Plug Driver" tristate "Surface Hot-Plug Driver"
depends on ACPI
depends on GPIOLIB depends on GPIOLIB
help help
Driver for out-of-band hot-plug event signaling on Microsoft Surface Driver for out-of-band hot-plug event signaling on Microsoft Surface
@ -154,6 +157,7 @@ config SURFACE_HOTPLUG
config SURFACE_PLATFORM_PROFILE config SURFACE_PLATFORM_PROFILE
tristate "Surface Platform Profile Driver" tristate "Surface Platform Profile Driver"
depends on ACPI
depends on SURFACE_AGGREGATOR_REGISTRY depends on SURFACE_AGGREGATOR_REGISTRY
select ACPI_PLATFORM_PROFILE select ACPI_PLATFORM_PROFILE
help help
@ -176,6 +180,7 @@ config SURFACE_PLATFORM_PROFILE
config SURFACE_PRO3_BUTTON config SURFACE_PRO3_BUTTON
tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet" tristate "Power/home/volume buttons driver for Microsoft Surface Pro 3/4 tablet"
depends on ACPI
depends on INPUT depends on INPUT
help help
This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3/4 tablet. This driver handles the power/home/volume buttons on the Microsoft Surface Pro 3/4 tablet.

View file

@ -4,6 +4,7 @@
menuconfig SURFACE_AGGREGATOR menuconfig SURFACE_AGGREGATOR
tristate "Microsoft Surface System Aggregator Module Subsystem and Drivers" tristate "Microsoft Surface System Aggregator Module Subsystem and Drivers"
depends on SERIAL_DEV_BUS depends on SERIAL_DEV_BUS
depends on ACPI
select CRC_CCITT select CRC_CCITT
help help
The Surface System Aggregator Module (Surface SAM or SSAM) is an The Surface System Aggregator Module (Surface SAM or SSAM) is an