rtc: imxdi: Soften dependencies for improved compile coverage
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Mon, 2 Oct 2023 08:05:18 +0000 (10:05 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Fri, 13 Oct 2023 10:29:08 +0000 (12:29 +0200)
The driver compiles fine on x86_64, so soften the dependencies to
ARCH_MXC || COMPILE_TEST.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Link: https://lore.kernel.org/r/20231002080529.2535610-2-u.kleine-koenig@pengutronix.de
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/Kconfig

index d7502433c78aa318a1a8baf1b835d1d4e1e639f3..f92644a10c7d3fdcf92a577c91252eec243c92c1 100644 (file)
@@ -1351,7 +1351,7 @@ config RTC_DRV_DIGICOLOR
 
 config RTC_DRV_IMXDI
        tristate "Freescale IMX DryIce Real Time Clock"
-       depends on ARCH_MXC
+       depends on ARCH_MXC || COMPILE_TEST
        depends on OF
        help
           Support for Freescale IMX DryIce RTC