]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
drivers/rtc/rtc-isl1208.c: add support for the ISL1218
authorBen Gardner <gardner.ben@gmail.com>
Thu, 13 Sep 2012 01:01:15 +0000 (11:01 +1000)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 19 Sep 2012 05:30:23 +0000 (15:30 +1000)
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>
drivers/rtc/rtc-isl1208.c

index dd2aeee6c66a05a7df3644f612d9033e9add496b..0ea86acdffbca212c616837a698ec3ec4090adad 100644 (file)
@@ -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);