Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

rtc: pic32: allow driver to be compiled with COMPILE_TEST

This driver currently only supports builds against a PIC32 target. Now
that commit ed65ae9f6c6b ("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>

authored by

Brian Masney and committed by
Alexandre Belloni
095a3e88 0e9b12ee

+1 -1
+1 -1
drivers/rtc/Kconfig
··· 1986 1986 1987 1987 config RTC_DRV_PIC32 1988 1988 tristate "Microchip PIC32 RTC" 1989 - depends on MACH_PIC32 1989 + depends on MACH_PIC32 || COMPILE_TEST 1990 1990 default y 1991 1991 help 1992 1992 If you say yes here you get support for the PIC32 RTC module.