lkml.org 
[lkml]   [2011]   [Oct]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH] rtc-isl1208: Add support for the ISL1218
    Date
    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>
    ---
    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


    \
     
     \ /
      Last update: 2011-10-26 04:33    [W:0.020 / U:120.012 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site