rtc: rv8803: fix the rv8803 id in the OF table
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 27 Aug 2018 21:23:43 +0000 (23:23 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 27 Aug 2018 21:24:35 +0000 (23:24 +0200)
The ID for RV8803 must be rv_8803

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-rv8803.c

index 29fc3d210392387ec27814500fcc215a3c838682..17ccef5d5db1a2138d80f66be8acfbda2a327ba9 100644 (file)
@@ -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",