extcon: Add an API to get extcon device from dt node
[firefly-linux-kernel-4.4.55.git] / drivers / extcon / Kconfig
index 63f454e205768b7d17ce46fe4b4e7966043d1c4c..f1d54a3985bdfe9a81ba4e0c6b44448eeb96c4e2 100644 (file)
@@ -14,6 +14,10 @@ if EXTCON
 
 comment "Extcon Device Drivers"
 
+config OF_EXTCON
+       def_tristate y
+       depends on OF
+
 config EXTCON_GPIO
        tristate "GPIO extcon support"
        depends on GPIOLIB