[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1509730361-23905-2-git-send-email-akshay.bhat@timesys.com>
Date: Fri, 3 Nov 2017 13:32:40 -0400
From: Akshay Bhat <akshay.bhat@...esys.com>
To: a.zummo@...ertech.it, alexandre.belloni@...e-electrons.com
Cc: linux-rtc@...r.kernel.org, linux-kernel@...r.kernel.org,
Akshay Bhat <akshay.bhat@...esys.com>
Subject: [PATCH 2/3] 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@....de>
Signed-off-by: Akshay Bhat <akshay.bhat@...esys.com>
---
drivers/rtc/rtc-rx8010.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/rtc/rtc-rx8010.c b/drivers/rtc/rtc-rx8010.c
index f948f75..2e06e5f 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)
--
2.7.4
Powered by blists - more mailing lists