From: Ben Gardner Date: Fri, 7 Sep 2012 00:24:54 +0000 (+1000) Subject: drivers/rtc/rtc-isl1208.c: add support for the ISL1218 X-Git-Tag: next-20120912~1^2~63 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=3c9c3093c312a6e7140abf9cfa3442c8c0a916af;p=karo-tx-linux.git drivers/rtc/rtc-isl1208.c: add support for the ISL1218 The ISL1218 chip is identical to the ISL1208, except that it has 6 additional user-storage registers. This patch does not enable access to those additional registers, but only adds the chip name to the list. Signed-off-by: Ben Gardner Cc: Alessandro Zummo Signed-off-by: Andrew Morton --- diff --git a/drivers/rtc/rtc-isl1208.c b/drivers/rtc/rtc-isl1208.c index dd2aeee6c66a..0ea86acdffbc 100644 --- a/drivers/rtc/rtc-isl1208.c +++ b/drivers/rtc/rtc-isl1208.c @@ -697,6 +697,7 @@ isl1208_remove(struct i2c_client *client) static const struct i2c_device_id isl1208_id[] = { { "isl1208", 0 }, + { "isl1218", 0 }, { } }; MODULE_DEVICE_TABLE(i2c, isl1208_id);