mirror of
https://github.com/torvalds/linux.git
synced 2026-03-08 01:04:41 +01:00
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>
This commit is contained in:
parent
b8694faa1a
commit
ed65ae9f6c
1 changed files with 1 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue