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>master
parent
b8694faa1a
commit
ed65ae9f6c
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue