Skip to content

Commit ed65ae9

Browse files
masneybtsbogend
authored andcommitted
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>
1 parent b8694fa commit ed65ae9

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/rtc/rtc-pic32.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,7 @@
1515
#include <linux/clk.h>
1616
#include <linux/rtc.h>
1717
#include <linux/bcd.h>
18-
19-
#include <asm/mach-pic32/pic32.h>
18+
#include <linux/platform_data/pic32.h>
2019

2120
#define PIC32_RTCCON 0x00
2221
#define PIC32_RTCCON_ON BIT(15)

0 commit comments

Comments
 (0)