summaryrefslogtreecommitdiffstats
path: root/drivers/rtc/Kconfig
diff options
context:
space:
mode:
authorFabio Estevam <festevam@gmail.com>2021-03-15 14:20:29 -0300
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2021-03-15 23:05:03 +0100
commit198da7be18c47637d69cdab1f65581b04ebd759d (patch)
tree7bbdec4f1a1c36e7e2269e35183a273cb01bc60f /drivers/rtc/Kconfig
parent6e00b6d0083ea5f529b057e87c0236747871b6a8 (diff)
downloadlinux-198da7be18c47637d69cdab1f65581b04ebd759d.tar.bz2
rtc: imxdi: Convert to a DT-only driver
i.MX has been converted to a DT-only platform, so make the driver depend on OF, remove the CONFIG_OF ifdefery and remove of_match_ptr(). Signed-off-by: Fabio Estevam <festevam@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20210315172029.173250-1-festevam@gmail.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 ce723dc54aa4..9a82cb57586f 100644
--- a/drivers/rtc/Kconfig
+++ b/drivers/rtc/Kconfig
@@ -1331,6 +1331,7 @@ config RTC_DRV_DIGICOLOR
config RTC_DRV_IMXDI
tristate "Freescale IMX DryIce Real Time Clock"
depends on ARCH_MXC
+ depends on OF
help
Support for Freescale IMX DryIce RTC