Skip to contentSkip to conversation

slimbus: ngd: QCOM_QMI_HELPERS has to be selected

PATCH Superseded Niklas Cassel 3 participants 3 messages Oct 1, 2018 – Oct 2, 2018 Serial low-power inter-chip media bus (SLIMbus)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 slimbus: ngd: QCOM_QMI_HELPERS has to be selected

QCOM_QMI_HELPERS is a hidden kconfig, so the proper usage is to select it, not depend upon it.

---
 drivers/slimbus/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/slimbus/Kconfig +1 -1
index 9d73ad806698..9cca2c3559f2 100644
@@ -22,8 +22,8 @@ config SLIM_QCOM_CTRL
 
 config SLIM_QCOM_NGD_CTRL
 	tristate "Qualcomm SLIMbus Satellite Non-Generic Device Component"
-	depends on QCOM_QMI_HELPERS
 	depends on HAS_IOMEM && DMA_ENGINE
+	select QCOM_QMI_HELPERS
 	help
 	  Select driver if Qualcomm's SLIMbus Satellite Non-Generic Device
 	  Component is programmed using Linux kernel.
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw
Quoted 4 lines · Niklas Cassel

QCOM_QMI_HELPERS is a hidden kconfig, so the proper usage is to select it, not depend upon it.

Looks good.

Quoted 19 lines
---
 drivers/slimbus/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/slimbus/Kconfig +1 -1
index 9d73ad806698..9cca2c3559f2 100644
@@ -22,8 +22,8 @@ config SLIM_QCOM_CTRL
 
 config SLIM_QCOM_NGD_CTRL
 	tristate "Qualcomm SLIMbus Satellite Non-Generic Device Component"
-	depends on QCOM_QMI_HELPERS
 	depends on HAS_IOMEM && DMA_ENGINE
+	select QCOM_QMI_HELPERS
 	help
 	  Select driver if Qualcomm's SLIMbus Satellite Non-Generic Device
 	  Component is programmed using Linux kernel.
Reviewed-by on v1 1/1
#2 lore raw
In reply to Niklas Cassel
Quoted 4 lines · Niklas Cassel

QCOM_QMI_HELPERS is a hidden kconfig, so the proper usage is to select it, not depend upon it.

Regards,
Bjorn

Quoted 21 lines
---
 drivers/slimbus/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/slimbus/Kconfig +1 -1
index 9d73ad806698..9cca2c3559f2 100644
@@ -22,8 +22,8 @@ config SLIM_QCOM_CTRL
 
 config SLIM_QCOM_NGD_CTRL
 	tristate "Qualcomm SLIMbus Satellite Non-Generic Device Component"
-	depends on QCOM_QMI_HELPERS
 	depends on HAS_IOMEM && DMA_ENGINE
+	select QCOM_QMI_HELPERS
 	help
 	  Select driver if Qualcomm's SLIMbus Satellite Non-Generic Device
 	  Component is programmed using Linux kernel.
Signature · 1 line
2.17.1