Эх сурвалжийг харах

rtc: jz4740: Drop dependency on MACH_INGENIC

Depending on MACH_INGENIC 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: Alexandre Belloni <alexandre.belloni@bootlin.com>
Paul Cercueil 7 жил өмнө
parent
commit
1e6e4e169a

+ 1 - 1
drivers/rtc/Kconfig

@@ -1587,7 +1587,7 @@ config RTC_DRV_MPC5121
 
 
 config RTC_DRV_JZ4740
 config RTC_DRV_JZ4740
 	tristate "Ingenic JZ4740 SoC"
 	tristate "Ingenic JZ4740 SoC"
-	depends on MACH_INGENIC || COMPILE_TEST
+	depends on MIPS || COMPILE_TEST
 	help
 	help
 	  If you say yes here you get support for the Ingenic JZ47xx SoCs RTC
 	  If you say yes here you get support for the Ingenic JZ47xx SoCs RTC
 	  controllers.
 	  controllers.