i2c: jz4780: Drop dependency on MACH_JZ4780
authorPaul Cercueil <paul@crapouillou.net>
Wed, 22 May 2019 17:05:16 +0000 (19:05 +0200)
committerWolfram Sang <wsa@the-dreams.de>
Mon, 27 May 2019 19:35:04 +0000 (21:35 +0200)
Depending on MACH_JZ4780 prevent us from creating a generic kernel that
works on more than one MIPS board. Instead, we just depend on MIPS being
set.

Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/Kconfig

index 3b70551..0621f3f 100644 (file)
@@ -692,7 +692,7 @@ config I2C_IOP3XX
 
 config I2C_JZ4780
        tristate "JZ4780 I2C controller interface support"
-       depends on MACH_JZ4780 || COMPILE_TEST
+       depends on MIPS || COMPILE_TEST
        help
         If you say yes to this option, support will be included for the
         Ingenic JZ4780 I2C controller.