Skip to contentSkip to conversation

platform/x86: dell: Make DELL_WMI_PRIVACY depend on DELL_WMI

PATCH In review Hans de Goede 1 participant 2 messages Oct 11, 2021 x86 platform drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 platform/x86: dell: Make DELL_WMI_PRIVACY depend on DELL_WMI

DELL_WMI_PRIVACY is a feature toggle for the main dell-wmi driver, so it must depend on the Kconfig option which enables the main dell-wmi driver.

Fixes 8af9fa37b8a3 ("platform/x86: dell-privacy: Add support for Dell hardware privacy")
---
 drivers/platform/x86/dell/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/dell/Kconfig +1 -0
index 42513eab1d06..2fffa57e596e 100644
@@ -167,6 +167,7 @@ config DELL_WMI
 config DELL_WMI_PRIVACY
 	bool "Dell WMI Hardware Privacy Support"
 	depends on LEDS_TRIGGER_AUDIO = y || DELL_WMI = LEDS_TRIGGER_AUDIO
+	depends on DELL_WMI
 	help
 	  This option adds integration with the "Dell Hardware Privacy"
 	  feature of Dell laptops to the dell-wmi driver.
Signature · 1 line
2.31.1
#1 lore raw

Hi all,

Quoted 7 lines · Hans de Goede

DELL_WMI_PRIVACY is a feature toggle for the main dell-wmi driver, so it must depend on the Kconfig option which enables the main dell-wmi driver.

Fixes 8af9fa37b8a3 ("platform/x86: dell-privacy: Add support for Dell hardware privacy")

I've added this to my review-hans (soon to be for-next) and fixes branches now.

Regards,

Hans

Quoted 17 lines
---
 drivers/platform/x86/dell/Kconfig | 1 +
 1 file changed, 1 insertion(+)
drivers/platform/x86/dell/Kconfig +1 -0
index 42513eab1d06..2fffa57e596e 100644
@@ -167,6 +167,7 @@ config DELL_WMI
 config DELL_WMI_PRIVACY
 	bool "Dell WMI Hardware Privacy Support"
 	depends on LEDS_TRIGGER_AUDIO = y || DELL_WMI = LEDS_TRIGGER_AUDIO
+	depends on DELL_WMI
 	help
 	  This option adds integration with the "Dell Hardware Privacy"
 	  feature of Dell laptops to the dell-wmi driver.