]> git.baikalelectronics.ru Git - kernel.git/commit
platform/surface: SURFACE_PLATFORMS should depend on ACPI
authorGeert Uytterhoeven <geert@linux-m68k.org>
Wed, 16 Dec 2020 13:37:52 +0000 (14:37 +0100)
committerHans de Goede <hdegoede@redhat.com>
Mon, 4 Jan 2021 14:54:45 +0000 (15:54 +0100)
commitbc9f23196d2cefea48d4650a0537144af095fde9
treef309c88c200d1f8dc5efce689bc7f8f593078125
parent557dcdd0f68acfc7579380291c81df17d7e3f480
platform/surface: SURFACE_PLATFORMS should depend on ACPI

All Microsoft Surface platform-specific device drivers depend on ACPI,
but the gatekeeper symbol SURFACE_PLATFORMS does not.  Hence when the
user is configuring a kernel without ACPI support, he is still asked
about Microsoft Surface drivers, even though this question is
irrelevant.

Fix this by moving the dependency on ACPI from the individual driver
symbols to SURFACE_PLATFORMS.

Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
Reviewed-by: Maximilian Luz <luzmaximilian@gmail.com>
Link: https://lore.kernel.org/r/20201216133752.1321978-1-geert@linux-m68k.org
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/surface/Kconfig