Skip to content

Commit 0020868

Browse files
rtc: mxc{,_v2}: enable COMPILE_TEST
Extend code coverage for the rtc-mxc and rtc-mxc-v2 drivers. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Reviewed-by: Fabio Estevam <festevam@gmail.com> Link: https://lore.kernel.org/r/20201121224529.568237-1-alexandre.belloni@bootlin.com
1 parent 9c79579 commit 0020868

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

drivers/rtc/Kconfig

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1756,7 +1756,9 @@ config RTC_DRV_LOONGSON1
17561756

17571757
config RTC_DRV_MXC
17581758
tristate "Freescale MXC Real Time Clock"
1759-
depends on ARCH_MXC
1759+
depends on ARCH_MXC || COMPILE_TEST
1760+
depends on HAS_IOMEM
1761+
depends on OF
17601762
help
17611763
If you say yes here you get support for the Freescale MXC
17621764
RTC module.
@@ -1766,7 +1768,9 @@ config RTC_DRV_MXC
17661768

17671769
config RTC_DRV_MXC_V2
17681770
tristate "Freescale MXC Real Time Clock for i.MX53"
1769-
depends on ARCH_MXC
1771+
depends on ARCH_MXC || COMPILE_TEST
1772+
depends on HAS_IOMEM
1773+
depends on OF
17701774
help
17711775
If you say yes here you get support for the Freescale MXC
17721776
SRTC module in i.MX53 processor.

0 commit comments

Comments
 (0)