Bug fixed that made it impossible to insert the adm9240 driver

When checking for adapter functionality, a '!' had disappeared :-(


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@592 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Frodo Looijaard committed 1999-10-04 14:09:53 +00:00
1 parent c482ca5da3
commit 1be8e3b138
1 file changed
+1 -1
+1 -1
View File
@@ -363,7 +363,7 @@ static int adm9240_detect(struct i2c_adapter *adapter, int address,
}
#endif
if (i2c_check_functionality(adapter,I2C_FUNC_SMBUS_BYTE_DATA))
if (!i2c_check_functionality(adapter,I2C_FUNC_SMBUS_BYTE_DATA))
goto ERROR0;
/* We need address registration for the I2C bus too. That is not yet