[PATCH] rtc-isl1208: Add support for the ISL1218

From: Ben Gardner
Date: Tue Oct 25 2011 - 22:30:22 EST


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@xxxxxxxxx>
---
drivers/rtc/rtc-isl1208.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/drivers/rtc/rtc-isl1208.c b/drivers/rtc/rtc-isl1208.c
index da8beb8..ea10736 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);
--
1.7.7

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/