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)
commite4a02c7a0e3aeb966e4fdc4a43dce978c467fe83
treef309c88c200d1f8dc5efce689bc7f8f593078125
parent6a4b1f2dff558d75ee4f2ce88595a933b6918183
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