Re: [PATCH] ACPI / button: make module loadable when booted in non-ACPI mode

2018-04-23 Thread Rafael J. Wysocki
On Monday, April 23, 2018 10:28:34 AM CEST Ard Biesheuvel wrote: > Modules such as nouveau.ko and i915.ko have a link time dependency on > acpi_lid_open(), and due to its use of acpi_bus_register_driver(), > the button.ko module that provides it is only loadable when booted in > ACPI mode. However,

[PATCH] ACPI / button: make module loadable when booted in non-ACPI mode

2018-04-23 Thread Ard Biesheuvel
Modules such as nouveau.ko and i915.ko have a link time dependency on acpi_lid_open(), and due to its use of acpi_bus_register_driver(), the button.ko module that provides it is only loadable when booted in ACPI mode. However, the ACPI button driver can be built into the core kernel as well, in whi