i2c: mux: i2c-arb-gpio-challenge: allow compiling w/o OF support
authorPeter Rosin <peda@axentia.se>
Tue, 1 Aug 2017 13:16:21 +0000 (15:16 +0200)
committerPeter Rosin <peda@axentia.se>
Tue, 22 Aug 2017 06:37:03 +0000 (08:37 +0200)
It simplifies some tests.

Signed-off-by: Peter Rosin <peda@axentia.se>
drivers/i2c/muxes/Kconfig

index 1bba95ecc7c0453a1b49157d8eb71483dba2e7cb..55a10946abb612adca6fbccba36d8e4e3842dd3e 100644 (file)
@@ -8,7 +8,7 @@ menu "Multiplexer I2C Chip support"
 config I2C_ARB_GPIO_CHALLENGE
        tristate "GPIO-based I2C arbitration"
        depends on GPIOLIB || COMPILE_TEST
-       depends on OF
+       depends on OF || COMPILE_TEST
        help
          If you say yes to this option, support will be included for an
          I2C multimaster arbitration scheme using GPIOs and a challenge &