Skip to content

Commit 095a3e8

Browse files
masneybalexandrebelloni
authored andcommitted
rtc: pic32: allow driver to be compiled with COMPILE_TEST
This driver currently only supports builds against a PIC32 target. Now that commit ed65ae9 ("rtc: pic32: update include to use pic32.h from platform_data") is merged, it's possible to compile this driver on other architectures. To avoid future breakage of this driver in the future, let's update the Kconfig so that it can be built with COMPILE_TEST enabled on all architectures. Signed-off-by: Brian Masney <bmasney@redhat.com> Link: https://patch.msgid.link/20260222-rtc-pic32-v1-1-3f8eb654a34d@redhat.com Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
1 parent 0e9b12e commit 095a3e8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/rtc/Kconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1986,7 +1986,7 @@ config RTC_DRV_XGENE
19861986

19871987
config RTC_DRV_PIC32
19881988
tristate "Microchip PIC32 RTC"
1989-
depends on MACH_PIC32
1989+
depends on MACH_PIC32 || COMPILE_TEST
19901990
default y
19911991
help
19921992
If you say yes here you get support for the PIC32 RTC module.

0 commit comments

Comments
 (0)