mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-09-04 00:05:10 +00:00
fixed compile error. oops.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@350 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
@@ -319,7 +319,7 @@ int adm9240_attach_adapter(struct i2c_adapter *adapter)
|
||||
{
|
||||
int address,err,temp;
|
||||
struct i2c_client *new_client;
|
||||
char *type_name,*client_name;
|
||||
const char *type_name,*client_name;
|
||||
|
||||
err = 0;
|
||||
/* Make sure we aren't probing the ISA bus!! */
|
||||
@@ -337,7 +337,7 @@ int adm9240_attach_adapter(struct i2c_adapter *adapter)
|
||||
if (temp == 0x23) {
|
||||
type_name = "adm9240";
|
||||
client_name = "ADM9240 chip";
|
||||
} else if (temp == 0xDA)
|
||||
} else if (temp == 0xDA) {
|
||||
type_name = "ds1780";
|
||||
client_name = "DS1780 chip";
|
||||
}
|
||||
|
Reference in New Issue
Block a user