From d3671dfcdb6724989d4eb91be5e97d40614b7145 Mon Sep 17 00:00:00 2001 From: Chris Packham Date: Mon, 28 May 2018 23:39:58 +1200 Subject: drivers/rtc: convert mvrtc to DM Add DM support for the Marvell RTC driver. Signed-off-by: Chris Packham Reviewed-by: Stefan Roese --- drivers/rtc/mvrtc.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'drivers/rtc/mvrtc.h') diff --git a/drivers/rtc/mvrtc.h b/drivers/rtc/mvrtc.h index dc470a9b73..87ff43299c 100644 --- a/drivers/rtc/mvrtc.h +++ b/drivers/rtc/mvrtc.h @@ -20,6 +20,11 @@ struct mvrtc_registers { u32 date; }; +/* Platform data */ +struct mvrtc_pdata { + phys_addr_t iobase; +}; + /* time register */ #define MVRTC_SEC_SFT 0 #define MVRTC_SEC_MSK 0x7f -- cgit