Skip to content

Commit a781a7d

Browse files
nullr0utechanwoochoi
authored andcommitted
extcon: qcom-spmi-misc: add dependency on ARCH_QCOM
Depend on the architecture the device actuall is in, also add dep on the compile test to ensure continued coverage. Signed-off-by: Peter Robinson <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
1 parent cf5459a commit a781a7d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/extcon/Kconfig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ config EXTCON_PALMAS
115115

116116
config EXTCON_QCOM_SPMI_MISC
117117
tristate "Qualcomm USB extcon support"
118+
depends on ARCH_QCOM || COMPILE_TEST
118119
help
119120
Say Y here to enable SPMI PMIC based USB cable detection
120121
support on Qualcomm PMICs such as PM8941.

0 commit comments

Comments
 (0)