X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=drivers%2Fi2c%2Fchips%2Flm75.c;h=3752a2706194fce09ae7b205d4471fd8607f7dd5;hb=44c40f29869a02dd430beb7fed0b6ca7d8ef5e54;hp=a5d32245f623cfc8f6e1061f3d1cb05b91ca5c2a;hpb=8d40237c730b8be87c1b80a5d96b9c603fefa829;p=linux-2.6.git diff --git a/drivers/i2c/chips/lm75.c b/drivers/i2c/chips/lm75.c index a5d32245f..3752a2706 100644 --- a/drivers/i2c/chips/lm75.c +++ b/drivers/i2c/chips/lm75.c @@ -28,9 +28,10 @@ /* Addresses to scan */ -static unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b, 0x4c, - 0x4d, 0x4e, 0x4f, I2C_CLIENT_END }; +static unsigned short normal_i2c[] = { I2C_CLIENT_END }; +static unsigned short normal_i2c_range[] = { 0x48, 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); @@ -73,7 +74,7 @@ static struct i2c_driver lm75_driver = { .detach_client = lm75_detach_client, }; -static int lm75_id; +static int lm75_id = 0; #define show(value) \ static ssize_t show_##value(struct device *dev, char *buf) \