X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fi2c%2Fchips%2Flm77.c;h=71cf3799c4f9de63fcc06c4d0e8cb752909a8835;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=a6fc781057171b9d55383355f10176103df5019c;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/drivers/i2c/chips/lm77.c b/drivers/i2c/chips/lm77.c index a6fc78105..71cf3799c 100644 --- a/drivers/i2c/chips/lm77.c +++ b/drivers/i2c/chips/lm77.c @@ -34,10 +34,8 @@ /* Addresses to scan */ -static unsigned short normal_i2c[] = { I2C_CLIENT_END }; -static unsigned short normal_i2c_range[] = { 0x48, 0x4b, I2C_CLIENT_END }; +static unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b, 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(lm77); @@ -83,7 +81,7 @@ static struct i2c_driver lm77_driver = { .detach_client = lm77_detach_client, }; -static int lm77_id = 0; +static int lm77_id; /* straight from the datasheet */ #define LM77_TEMP_MIN (-55000)