summaryrefslogtreecommitdiff
path: root/drivers/rtc
diff options
context:
space:
mode:
authorBrian Masney <bmasney@redhat.com>2026-01-12 17:48:05 -0500
committerThomas Bogendoerfer <tsbogend@alpha.franken.de>2026-01-30 15:29:08 +0100
commited65ae9f6c6b030e0a5912b7a88ca02f57cbc43e (patch)
treec61608a69af7c2ce0dfb8eae393351451c52b7ac /drivers/rtc
parentb8694faa1a0fa848cb0a593ab2d7723868277926 (diff)
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 <alexandre.belloni@bootlin.com> Signed-off-by: Brian Masney <bmasney@redhat.com> Signed-off-by: Thomas Bogendoerfer <tsbogend@alpha.franken.de>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-pic32.c3
1 files changed, 1 insertions, 2 deletions
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 <linux/clk.h>
#include <linux/rtc.h>
#include <linux/bcd.h>
-
-#include <asm/mach-pic32/pic32.h>
+#include <linux/platform_data/pic32.h>
#define PIC32_RTCCON 0x00
#define PIC32_RTCCON_ON BIT(15)