git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
drivers
/
i2c
/
chips
/
lm75.c
diff --git
a/drivers/i2c/chips/lm75.c
b/drivers/i2c/chips/lm75.c
index
3752a27
..
a5d3224
100644
(file)
--- a/
drivers/i2c/chips/lm75.c
+++ b/
drivers/i2c/chips/lm75.c
@@
-28,10
+28,9
@@
/* Addresses to scan */
/* 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[] = { I2C_CLIENT_ISA_END };
-static unsigned int normal_isa_range[] = { I2C_CLIENT_ISA_END };
/* Insmod parameters */
SENSORS_INSMOD_1(lm75);
/* Insmod parameters */
SENSORS_INSMOD_1(lm75);
@@
-74,7
+73,7
@@
static struct i2c_driver lm75_driver = {
.detach_client = lm75_detach_client,
};
.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) \
#define show(value) \
static ssize_t show_##value(struct device *dev, char *buf) \