Commit 095a3e88 authored by Brian Masney's avatar Brian Masney Committed by Alexandre Belloni
Browse files

rtc: pic32: allow driver to be compiled with COMPILE_TEST



This driver currently only supports builds against a PIC32 target. Now
that commit ed65ae9f ("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: default avatarBrian Masney <bmasney@redhat.com>
Link: https://patch.msgid.link/20260222-rtc-pic32-v1-1-3f8eb654a34d@redhat.com


Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
parent 0e9b12ee
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1986,7 +1986,7 @@ config RTC_DRV_XGENE

config RTC_DRV_PIC32
	tristate "Microchip PIC32 RTC"
	depends on MACH_PIC32
	depends on MACH_PIC32 || COMPILE_TEST
	default y
	help
	   If you say yes here you get support for the PIC32 RTC module.