summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorAkshay Bhat <akshay.bhat@timesys.com>2017-11-03 13:32:40 -0400
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2017-11-08 07:52:25 +0100
commitabf57f73ef0f88f215d35c1418bba0ab7bdee710 (patch)
treebaf7d35cc71038c47bcb398c97700be85cc13238 /drivers/rtc
parente0b6576fcd01b7dea606312d36b91ed0c047673b (diff)
downloadlinux-abf57f73ef0f88f215d35c1418bba0ab7bdee710.tar.bz2
rtc: rx8010: Specify correct address for RX8010_RESV31
Define for reserved register 31 had the incorrect address. Specify the correct address. Reported-by: Jens-Peter Oswald <oswald@lre.de> Signed-off-by: Akshay Bhat <akshay.bhat@timesys.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-rx8010.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-rx8010.c b/drivers/rtc/rtc-rx8010.c
index f948f7547806..2e06e5fc4a16 100644
--- a/drivers/rtc/rtc-rx8010.c
+++ b/drivers/rtc/rtc-rx8010.c
@@ -35,7 +35,7 @@
#define RX8010_CTRL 0x1F
/* 0x20 to 0x2F are user registers */
#define RX8010_RESV30 0x30
-#define RX8010_RESV31 0x32
+#define RX8010_RESV31 0x31
#define RX8010_IRQ 0x32
#define RX8010_EXT_WADA BIT(3)