]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
rtc: rv8803: Extend compatibility with the rx8900
authorGregory CLEMENT <gregory.clement@free-electrons.com>
Fri, 11 Dec 2015 11:43:05 +0000 (12:43 +0100)
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>
Mon, 11 Jan 2016 19:20:00 +0000 (20:20 +0100)
The Seiko Epson's RTC RX8900 layout register is compatible with the
RV8803. So let's add its ID in order to reuse the same driver.

Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
drivers/rtc/rtc-rv8803.c

index f883aa266d0cc3be0e4368a9c91f93a9403ec73f..7155c0816aa6ff4624eb0ce9a7233a3e6c9f1b1d 100644 (file)
@@ -502,6 +502,7 @@ static int rv8803_remove(struct i2c_client *client)
 
 static const struct i2c_device_id rv8803_id[] = {
        { "rv8803", 0 },
+       { "rx8900", 0 },
        { }
 };
 MODULE_DEVICE_TABLE(i2c, rv8803_id);