]> 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)
commitdc22dbedbfc043483c8b1fb3162df7755a0916b7
treef309c88c200d1f8dc5efce689bc7f8f593078125
parent6402c6fea37ffbe68123f35c53477a0ac908b1d7
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