Misc fixes:

* The IT8705F and SiS950 have no SMBus interface.
* Fix a parenthesis misplacement.
* it87_detect should be static.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3154 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2005-10-30 11:52:13 +00:00
1 parent 17881ba0e1
commit 2f12c68ed1
1 file changed
+5 -6
+5 -6
View File
@@ -2,9 +2,9 @@
it87.c - Part of lm_sensors, Linux kernel modules for hardware
monitoring.
Supports: IT8705F Super I/O chip w/LPC interface & SMBus
Supports: IT8705F Super I/O chip w/LPC interface
IT8712F Super I/O chip w/LPC interface & SMBus
Sis950 A clone of the IT8705F
SiS950 A clone of the IT8705F
Copyright (c) 2001 Chris Gauthron <chrisg@0-in.com>
Largely inspired by lm78.c of the same package
@@ -434,7 +434,7 @@ static int __init it87_find(int *address)
goto exit;
superio_select();
if (!(superio_inb(IT87_ACT_REG)) & 0x01) {
if (!(superio_inb(IT87_ACT_REG) & 0x01)) {
printk(KERN_INFO "it87: Device not activated, skipping\n");
goto exit;
}
@@ -455,8 +455,8 @@ exit:
}
/* This function is called by i2c_detect */
int it87_detect(struct i2c_adapter *adapter, int address,
unsigned short flags, int kind)
static int it87_detect(struct i2c_adapter *adapter, int address,
unsigned short flags, int kind)
{
int i;
struct i2c_client *new_client;
@@ -1120,7 +1120,6 @@ static void __exit sm_it87_exit(void)
}
MODULE_AUTHOR("Chris Gauthron <chrisg@0-in.com>");
MODULE_DESCRIPTION("IT8705F, IT8712F, Sis950 driver");
MODULE_PARM(update_vbat, "i");