From: Brian Masney Date: Mon, 12 Jan 2026 22:48:05 +0000 (-0500) Subject: rtc: pic32: update include to use pic32.h from platform_data X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ed65ae9f6c6b030e0a5912b7a88ca02f57cbc43e;p=thirdparty%2Flinux.git rtc: pic32: update include to use pic32.h from platform_data Use the linux/platform_data/pic32.h include instead of asm/mach-pic32/pic32.h so that the asm variant can be dropped. This is in preparation for allowing some drivers to be compiled on other architectures with COMPILE_TEST enabled. Acked-by: Alexandre Belloni Signed-off-by: Brian Masney Signed-off-by: Thomas Bogendoerfer --- diff --git a/drivers/rtc/rtc-pic32.c b/drivers/rtc/rtc-pic32.c index 52c11532bc3a..3c7a38a4ac08 100644 --- a/drivers/rtc/rtc-pic32.c +++ b/drivers/rtc/rtc-pic32.c @@ -15,8 +15,7 @@ #include #include #include - -#include +#include #define PIC32_RTCCON 0x00 #define PIC32_RTCCON_ON BIT(15)