summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@free-electrons.com>2015-12-11 12:43:05 +0100
committerAlexandre Belloni <alexandre.belloni@free-electrons.com>2016-01-11 20:20:00 +0100
commit78ef5f2d2d8c9234d80b4e01e8b736e7241cd5ce (patch)
tree20c70cc603dd71da62aae5195b1044f37a91ec5e /drivers/rtc
parent68c85f2916222b15556ca44e2da0ee94f61f02da (diff)
downloadlinux-stable-78ef5f2d2d8c9234d80b4e01e8b736e7241cd5ce.tar.gz
linux-stable-78ef5f2d2d8c9234d80b4e01e8b736e7241cd5ce.tar.bz2
linux-stable-78ef5f2d2d8c9234d80b4e01e8b736e7241cd5ce.zip
rtc: rv8803: Extend compatibility with the rx8900
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>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-rv8803.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/rtc/rtc-rv8803.c b/drivers/rtc/rtc-rv8803.c
index f883aa266d0c..7155c0816aa6 100644
--- a/drivers/rtc/rtc-rv8803.c
+++ b/drivers/rtc/rtc-rv8803.c
@@ -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);