leds: rgb: mt6370: fix CONFIG_LINEAR_RANGES select
Subsystems (2)
PATCH 1/1 leds: rgb: mt6370: fix CONFIG_LINEAR_RANGES select
From: Arnd Bergmann <[email protected]>
CONFIG_LINEAR_RANGE does not exist, but selecting is silently ignored.
ERROR: modpost: "linear_range_get_selector_within" [drivers/leds/rgb/leds-mt6370-rgb.ko] undefined!
--- drivers/leds/rgb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/leds/rgb/Kconfig +1 -1
@@ -29,7 +29,7 @@ config LEDS_QCOM_LPG config LEDS_MT6370_RGB tristate "LED Support for MediaTek MT6370 PMIC" depends on MFD_MT6370 - select LINEAR_RANGE + select LINEAR_RANGES help Say Y here to enable support for MT6370_RGB LED device. In MT6370, there are four channel current-sink LED drivers that
Signature · 1 line
2.39.2
Quoted 8 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
CONFIG_LINEAR_RANGEdoes not exist, but selecting is silently ignored.ERROR: modpost: "
linear_range_get_selector_within" [drivers/leds/rgb/leds-mt6370-rgb.ko] undefined!Fixes 55a8a5c16eb3 ("leds: rgb: mt6370: Add MediaTek MT6370 current sink type LED Indicator support")Signed-off-by Arnd Bergmann <[email protected]>
Thanks.
Quoted 17 lines
--- drivers/leds/rgb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/leds/rgb/Kconfig +1
-1@@ -29,7 +29,7 @@ config LEDS_QCOM_LPG config LEDS_MT6370_RGB tristate "LED Support for MediaTek MT6370 PMIC" depends on MFD_MT6370 - select LINEAR_RANGE + select LINEAR_RANGES help Say Y here to enable support for MT6370_RGB LED device. In MT6370, there are four channel current-sink LED drivers that
Signature · 1 line
~Randy
Lee Jones
maintainerQuoted 11 lines · Arnd Bergmann
From: Arnd Bergmann <[email protected]>
CONFIG_LINEAR_RANGEdoes not exist, but selecting is silently ignored.ERROR: modpost: "
linear_range_get_selector_within" [drivers/leds/rgb/leds-mt6370-rgb.ko] undefined!Fixes 55a8a5c16eb3 ("leds: rgb: mt6370: Add MediaTek MT6370 current sink type LED Indicator support")Signed-off-by Arnd Bergmann <[email protected]>--- drivers/leds/rgb/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Beaten to it I'm afraid:
https://lore.kernel.org/r/[email protected]
Quoted 14 lines
drivers/leds/rgb/Kconfig +1
-2@@ -29,7 +29,7 @@ config LEDS_QCOM_LPG config LEDS_MT6370_RGB tristate "LED Support for MediaTek MT6370 PMIC" depends on MFD_MT6370 - select LINEAR_RANGE + select LINEAR_RANGES help Say Y here to enable support for MT6370_RGB LED device. In MT6370, there are four channel current-sink LED drivers that --
Quoted 2 lines
2.39.2
--
Lee Jones [李琼斯]