[PATCH] leds: asus-aura-scsi: add CONFIG_SCSI_DH dependency
From: Arnd Bergmann
Date: Wed Nov 04 2026 - 09:26:28 EST
From: Arnd Bergmann <arnd@xxxxxxxx>
Without the device handler support, the driver fails to link:
ERROR: modpost: drivers/leds/rgb/leds-asus-aura-scsi.ko: symbol 'scsi_register_device_handler' undefined!
Add a Kconfig dependency to only show the symbol if it can
be enabled.
Fixes: 6173959c7d4d ("leds: asus-aura-scsi: Add ASUS Aura RGB LED driver for ROG NVMe enclosures")
Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
---
drivers/leds/rgb/Kconfig | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/leds/rgb/Kconfig b/drivers/leds/rgb/Kconfig
index 983f50b7ed2d..3f6786616a7d 100644
--- a/drivers/leds/rgb/Kconfig
+++ b/drivers/leds/rgb/Kconfig
@@ -4,7 +4,7 @@ if LEDS_CLASS_MULTICOLOR
config LEDS_ASUS_AURA_SCSI
tristate "ASUS Aura RGB LEDs on ROG external NVMe enclosures"
- depends on SCSI
+ depends on SCSI && SCSI_DH
help
Say Y here if you want to control the RGB LEDs of ASUS ROG
external NVMe enclosures such as the ROG STRIX Arion. The LEDs
--
2.53.0