diff options
author | Magnus Lilja <lilja.magnus@gmail.com> | 2009-11-11 19:56:58 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-12-02 23:29:18 +0100 |
commit | f3a7bddc06c927c36a1a99a97131299479ef207a (patch) | |
tree | fe1feb33383626a321b9be6ab9753087e575801a /drivers/rtc/mc13783-rtc.c | |
parent | d52e3e0176a74c30549251e16c5c00a363c544d2 (diff) | |
download | u-boot-imx-f3a7bddc06c927c36a1a99a97131299479ef207a.zip u-boot-imx-f3a7bddc06c927c36a1a99a97131299479ef207a.tar.gz u-boot-imx-f3a7bddc06c927c36a1a99a97131299479ef207a.tar.bz2 |
RTC: Fix return code in MC13783 RTC driver.
Signed-off-by: Magnus Lilja <lilja.magnus@gmail.com>
Diffstat (limited to 'drivers/rtc/mc13783-rtc.c')
-rw-r--r-- | drivers/rtc/mc13783-rtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/mc13783-rtc.c b/drivers/rtc/mc13783-rtc.c index 05db2f1..416f50d 100644 --- a/drivers/rtc/mc13783-rtc.c +++ b/drivers/rtc/mc13783-rtc.c @@ -109,7 +109,7 @@ int rtc_set(struct rtc_time *rtc) spi_release_bus(slave); - return -1; + return 0; } void rtc_reset(void) |