X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fi2c%2Fchips%2Fpcf8591.c;h=8f3b8588cc2710fff943f6182e832f18be1bc5be;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=d63e06d37a6b2040db804dc94770ab67f381ad38;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/i2c/chips/pcf8591.c b/drivers/i2c/chips/pcf8591.c index d63e06d37..8f3b8588c 100644 --- a/drivers/i2c/chips/pcf8591.c +++ b/drivers/i2c/chips/pcf8591.c @@ -27,10 +27,9 @@ #include /* Addresses to scan */ -static unsigned short normal_i2c[] = { I2C_CLIENT_END }; -static unsigned short normal_i2c_range[] = { 0x48, 0x4f, I2C_CLIENT_END }; +static unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b, 0x4c, + 0x4d, 0x4e, 0x4f, I2C_CLIENT_END }; static unsigned int normal_isa[] = { I2C_CLIENT_ISA_END }; -static unsigned int normal_isa_range[] = { I2C_CLIENT_ISA_END }; /* Insmod parameters */ SENSORS_INSMOD_1(pcf8591); @@ -99,7 +98,7 @@ static struct i2c_driver pcf8591_driver = { .detach_client = pcf8591_detach_client, }; -static int pcf8591_id = 0; +static int pcf8591_id; /* following are the sysfs callback functions */ #define show_in_channel(channel) \