diff options
-rw-r--r-- | Documentation/hwmon/lm92 | 2 | ||||
-rw-r--r-- | drivers/hwmon/lm92.c | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/hwmon/lm92 b/Documentation/hwmon/lm92 index f2a5adcf4ead..cfa99a353b8c 100644 --- a/Documentation/hwmon/lm92 +++ b/Documentation/hwmon/lm92 | |||
@@ -11,7 +11,7 @@ Supported chips: | |||
11 | Addresses scanned: none, force parameter needed | 11 | Addresses scanned: none, force parameter needed |
12 | Datasheet: http://www.national.com/pf/LM/LM76.html | 12 | Datasheet: http://www.national.com/pf/LM/LM76.html |
13 | * Maxim MAX6633/MAX6634/MAX6635 | 13 | * Maxim MAX6633/MAX6634/MAX6635 |
14 | Prefix: 'lm92' | 14 | Prefix: 'max6635' |
15 | Addresses scanned: none, force parameter needed | 15 | Addresses scanned: none, force parameter needed |
16 | Datasheet: http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3074 | 16 | Datasheet: http://www.maxim-ic.com/quick_view2.cfm/qv_pk/3074 |
17 | 17 | ||
diff --git a/drivers/hwmon/lm92.c b/drivers/hwmon/lm92.c index 18509b5af11e..d40fe5122e94 100644 --- a/drivers/hwmon/lm92.c +++ b/drivers/hwmon/lm92.c | |||
@@ -52,6 +52,7 @@ | |||
52 | */ | 52 | */ |
53 | static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b, | 53 | static const unsigned short normal_i2c[] = { 0x48, 0x49, 0x4a, 0x4b, |
54 | I2C_CLIENT_END }; | 54 | I2C_CLIENT_END }; |
55 | enum chips { lm92, max6635 }; | ||
55 | 56 | ||
56 | /* The LM92 registers */ | 57 | /* The LM92 registers */ |
57 | #define LM92_REG_CONFIG 0x01 /* 8-bit, RW */ | 58 | #define LM92_REG_CONFIG 0x01 /* 8-bit, RW */ |
@@ -329,8 +330,8 @@ static int lm92_probe(struct i2c_client *new_client, | |||
329 | */ | 330 | */ |
330 | 331 | ||
331 | static const struct i2c_device_id lm92_id[] = { | 332 | static const struct i2c_device_id lm92_id[] = { |
332 | { "lm92", 0 }, | 333 | { "lm92", lm92 }, |
333 | /* max6635 could be added here */ | 334 | { "max6635", max6635 }, |
334 | { } | 335 | { } |
335 | }; | 336 | }; |
336 | MODULE_DEVICE_TABLE(i2c, lm92_id); | 337 | MODULE_DEVICE_TABLE(i2c, lm92_id); |