diff mbox

rtc: rv8803 Extend compatiblity with the rx8900

Message ID 1449834186-3903-1-git-send-email-gregory.clement@free-electrons.com
State Accepted
Headers show

Commit Message

Gregory CLEMENT Dec. 11, 2015, 11:43 a.m. UTC
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>
---
 drivers/rtc/rtc-rv8803.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Alexandre Belloni Dec. 22, 2015, 6:57 p.m. UTC | #1
On 11/12/2015 at 12:43:05 +0100, Gregory CLEMENT wrote :
> 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>
> ---
>  drivers/rtc/rtc-rv8803.c | 1 +
>  1 file changed, 1 insertion(+)
> 
Applied, thanks.
diff mbox

Patch

diff --git a/drivers/rtc/rtc-rv8803.c b/drivers/rtc/rtc-rv8803.c
index e7329e2..db405f2 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);