Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f94f0f10 authored by Seth Forshee's avatar Seth Forshee Committed by Matthew Garrett
Browse files

apple-gmux: Fix kconfig dependencies



Fix the dependencies of apple-gmux to prevent it from being built-in
when one or more of its dependencies is built as a module. Otherwise it
can fail to build due to missing symbols.

v2: Add dependency on ACPI to fix build failure when ACPI=n

Reported-by: default avatarArun Raghavan <arun.raghavan@collabora.co.uk>
Signed-off-by: default avatarSeth Forshee <seth.forshee@canonical.com>
Signed-off-by: default avatarMatthew Garrett <mjg@redhat.com>
parent a50bd128
Loading
Loading
Loading
Loading
+4 −1
Original line number Original line Diff line number Diff line
@@ -758,8 +758,11 @@ config SAMSUNG_Q10


config APPLE_GMUX
config APPLE_GMUX
	tristate "Apple Gmux Driver"
	tristate "Apple Gmux Driver"
	depends on ACPI
	depends on PNP
	depends on PNP
	select BACKLIGHT_CLASS_DEVICE
	depends on BACKLIGHT_CLASS_DEVICE
	depends on BACKLIGHT_APPLE=n || BACKLIGHT_APPLE
	depends on ACPI_VIDEO=n || ACPI_VIDEO
	---help---
	---help---
	  This driver provides support for the gmux device found on many
	  This driver provides support for the gmux device found on many
	  Apple laptops, which controls the display mux for the hybrid
	  Apple laptops, which controls the display mux for the hybrid