From fa7a51cb8272bd6076ea4701fd6bdc65a68703ba Mon Sep 17 00:00:00 2001 From: Otavio Salvador Date: Mon, 13 Aug 2012 09:53:12 +0000 Subject: mxs: Convert sys_proto.h prefixes to 'mxs' The sys_proto.h functions (except the boot modes) are compatible with i.MX233 and i.MX28 so we use 'mxs' prefix for its methods. Signed-off-by: Otavio Salvador --- drivers/rtc/mxsrtc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/rtc/mxsrtc.c') diff --git a/drivers/rtc/mxsrtc.c b/drivers/rtc/mxsrtc.c index 72f740039a..ffefb91881 100644 --- a/drivers/rtc/mxsrtc.c +++ b/drivers/rtc/mxsrtc.c @@ -41,7 +41,7 @@ int mxs_rtc_set_time(uint32_t secs) * is taken from the linux kernel driver for the STMP37xx RTC since * documentation doesn't mention it. */ - ret = mx28_wait_mask_clr(&rtc_regs->hw_rtc_stat_reg, + ret = mxs_wait_mask_clr(&rtc_regs->hw_rtc_stat_reg, 0x80 << RTC_STAT_STALE_REGS_OFFSET, MXS_RTC_MAX_TIMEOUT); if (ret) @@ -80,7 +80,7 @@ void rtc_reset(void) mxs_rtc_set_time(0); /* Reset the RTC block */ - ret = mx28_reset_block(&rtc_regs->hw_rtc_ctrl_reg); + ret = mxs_reset_block(&rtc_regs->hw_rtc_ctrl_reg); if (ret) printf("MXS RTC: Block reset timeout\n"); } -- cgit v1.2.3