X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fi2c%2Fchips%2Flm75.c;h=a5d32245f623cfc8f6e1061f3d1cb05b91ca5c2a;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=3752a2706194fce09ae7b205d4471fd8607f7dd5;hpb=9bf4aaab3e101692164d49b7ca357651eb691cb6;p=linux-2.6.git diff --git a/drivers/i2c/chips/lm75.c b/drivers/i2c/chips/lm75.c index 3752a2706..a5d32245f 100644 --- a/drivers/i2c/chips/lm75.c +++ b/drivers/i2c/chips/lm75.c @@ -28,10 +28,9 @@ /* 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(lm75); @@ -74,7 +73,7 @@ static struct i2c_driver lm75_driver = { .detach_client = lm75_detach_client, }; -static int lm75_id = 0; +static int lm75_id; #define show(value) \ static ssize_t show_##value(struct device *dev, char *buf) \