mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-27 20:48:22 +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:
1 parent
1067bc4d69
commit
c44effd7fa
1 file changed
+2
-2
@@ -319,7 +319,7 @@ int adm9240_attach_adapter(struct i2c_adapter *adapter)
|
|||||||
{
|
{
|
||||||
int address,err,temp;
|
int address,err,temp;
|
||||||
struct i2c_client *new_client;
|
struct i2c_client *new_client;
|
||||||
char *type_name,*client_name;
|
const char *type_name,*client_name;
|
||||||
|
|
||||||
err = 0;
|
err = 0;
|
||||||
/* Make sure we aren't probing the ISA bus!! */
|
/* Make sure we aren't probing the ISA bus!! */
|
||||||
@@ -337,7 +337,7 @@ int adm9240_attach_adapter(struct i2c_adapter *adapter)
|
|||||||
if (temp == 0x23) {
|
if (temp == 0x23) {
|
||||||
type_name = "adm9240";
|
type_name = "adm9240";
|
||||||
client_name = "ADM9240 chip";
|
client_name = "ADM9240 chip";
|
||||||
} else if (temp == 0xDA)
|
} else if (temp == 0xDA) {
|
||||||
type_name = "ds1780";
|
type_name = "ds1780";
|
||||||
client_name = "DS1780 chip";
|
client_name = "DS1780 chip";
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user