OSDN Git Service

rtc: rx8010: Specify correct address for RX8010_RESV31
authorAkshay Bhat <akshay.bhat@timesys.com>
Fri, 3 Nov 2017 17:32:40 +0000 (13:32 -0400)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Wed, 8 Nov 2017 06:52:25 +0000 (07:52 +0100)
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>
drivers/rtc/rtc-rx8010.c

index f948f75..2e06e5f 100644 (file)
@@ -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)