浏览代码

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>
Gregory CLEMENT 9 年之前
父节点
当前提交
78ef5f2d2d
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      drivers/rtc/rtc-rv8803.c

+ 1 - 0
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[] = {
 static const struct i2c_device_id rv8803_id[] = {
 	{ "rv8803", 0 },
 	{ "rv8803", 0 },
+	{ "rx8900", 0 },
 	{ }
 	{ }
 };
 };
 MODULE_DEVICE_TABLE(i2c, rv8803_id);
 MODULE_DEVICE_TABLE(i2c, rv8803_id);