diff --git a/arch/arm/src/lpc17xx_40xx/lpc176x_rtc.c b/arch/arm/src/lpc17xx_40xx/lpc176x_rtc.c index 7df5242097c..404f4711727 100644 --- a/arch/arm/src/lpc17xx_40xx/lpc176x_rtc.c +++ b/arch/arm/src/lpc17xx_40xx/lpc176x_rtc.c @@ -175,30 +175,6 @@ static int rtc_setup(void) return OK; } -/**************************************************************************** - * Name: rtc_resume - * - * Description: - * Called when the RTC was already initialized on a previous power cycle. - * This just brings the RTC back into full operation. - * - * Input Parameters: - * None - * - * Returned Value: - * Zero (OK) on success; a negated errno on failure - * - ****************************************************************************/ - -static int rtc_resume(void) -{ - /* Clear the RTC alarm flags */ - -#ifdef CONFIG_RTC_ALARM -#endif - return OK; -} - /**************************************************************************** * Name: rtc_interrupt * @@ -273,7 +249,7 @@ int up_rtc_initialize(void) g_rtc_enabled = true; rtc_dumpregs("After Initialization"); - return OK; + return ret; } /****************************************************************************