aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2020-05-06 00:13:30 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2020-05-11 16:34:54 +0200
commit24e1f2c9383e324bac74ee2a78d8450d4d0a1b6f (patch)
tree40900a650b51930714e690c9e6c9157115efe7c4 /drivers/rtc/Kconfig
parent8816cd726a4fee197af2d851cbe25991ae19ea14 (diff)
downloadlinux-24e1f2c9383e324bac74ee2a78d8450d4d0a1b6f.tar.gz
rtc: ingenic: Only support probing from devicetree
With the recent work on supporting Device Tree on Ingenic SoCs, no driver ever probes from platform code anymore, so we can clean a bit this driver by removing the non-devicetree paths. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Link: https://lore.kernel.org/r/20200505221336.222313-1-paul@crapouillou.net Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/Kconfig')
-rw-r--r--drivers/rtc/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/Kconfig b/drivers/rtc/Kconfig
index ec873f09c7639..82a210920c1dd 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1680,6 +1680,7 @@ config RTC_DRV_MPC5121
config RTC_DRV_JZ4740
tristate "Ingenic JZ4740 SoC"
depends on MIPS || COMPILE_TEST
+ depends on OF
help
If you say yes here you get support for the Ingenic JZ47xx SoCs RTC
controllers.