summaryrefslogtreecommitdiffstats
path: root/drivers/rtc
diff options
context:
space:
mode:
authorBen Gardner2012-10-05 02:13:44 +0200
committerLinus Torvalds2012-10-05 20:05:01 +0200
commit5fa44f86910ca9ee477cbd944c18f9349cdca30d (patch)
tree54522948e630c27e5ebae60d3de2f43310f8320d /drivers/rtc
parentbinfmt_elf: Uninitialized variable (diff)
downloadkernel-qcow2-linux-5fa44f86910ca9ee477cbd944c18f9349cdca30d.tar.gz
kernel-qcow2-linux-5fa44f86910ca9ee477cbd944c18f9349cdca30d.tar.xz
kernel-qcow2-linux-5fa44f86910ca9ee477cbd944c18f9349cdca30d.zip
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 <gardner.ben@gmail.com> Cc: Alessandro Zummo <a.zummo@towertech.it> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/rtc')
-rw-r--r--drivers/rtc/rtc-isl1208.c1
1 files changed, 1 insertions, 0 deletions
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);