summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Belloni <alexandre.belloni@bootlin.com>2018-08-27 23:23:43 +0200
committerAlexandre Belloni <alexandre.belloni@bootlin.com>2018-08-27 23:24:35 +0200
commitc856618d20662695fcdb47bf4d560dc457662aec (patch)
tree7fd95d1aea8e827813f492a656ce7db5b7dd35a3
parentrtc: sysfs: fix NULL check in rtc_add_groups() (diff)
downloadlinux-c856618d20662695fcdb47bf4d560dc457662aec.tar.xz
linux-c856618d20662695fcdb47bf4d560dc457662aec.zip
rtc: rv8803: fix the rv8803 id in the OF table
The ID for RV8803 must be rv_8803 Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
-rw-r--r--drivers/rtc/rtc-rv8803.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-rv8803.c b/drivers/rtc/rtc-rv8803.c
index 29fc3d210392..17ccef5d5db1 100644
--- a/drivers/rtc/rtc-rv8803.c
+++ b/drivers/rtc/rtc-rv8803.c
@@ -623,7 +623,7 @@ MODULE_DEVICE_TABLE(i2c, rv8803_id);
static const struct of_device_id rv8803_of_match[] = {
{
.compatible = "microcrystal,rv8803",
- .data = (void *)rx_8900
+ .data = (void *)rv_8803
},
{
.compatible = "epson,rx8900",