Skip to content

Commit 1fa0d7e

Browse files
committed
HACK: drm/apple: depend on BACKLIGHT_CLASS_DEVICE to break x86 Kconfig cycles
Signed-off-by: Janne Grunau <j@jannau.net>
1 parent 60181ff commit 1fa0d7e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/gpu/drm/apple/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ config DRM_APPLE
1111
select DRM_KMS_DMA_HELPER
1212
select DRM_GEM_DMA_HELPER
1313
select VIDEOMODE_HELPERS
14-
select BACKLIGHT_CLASS_DEVICE
14+
depends on BACKLIGHT_CLASS_DEVICE
1515
select MULTIPLEXER
1616
help
1717
Say Y if you have an Apple Silicon chipset.

drivers/platform/x86/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ config EEEPC_LAPTOP
345345
depends on ACPI_VIDEO || ACPI_VIDEO = n
346346
depends on HOTPLUG_PCI
347347
depends on BACKLIGHT_CLASS_DEVICE
348-
select HWMON
348+
depends on HWMON
349349
select LEDS_CLASS
350350
select NEW_LEDS
351351
select INPUT_SPARSEKMAP

0 commit comments

Comments
 (0)