mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-04 04:37:39 -04: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:
committed by
Thomas Bogendoerfer
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)
|
||||
|
||||
Reference in New Issue
Block a user