rds: prevent dereference of a NULL device
[platform/adaptation/renesas_rcar/renesas_kernel.git] / drivers / extcon / Kconfig
index 63f454e..f1d54a3 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