From 1be8e3b138f14b80b0d19df3b1f7cdb8757707c8 Mon Sep 17 00:00:00 2001 From: Frodo Looijaard Date: Mon, 4 Oct 1999 14:09:53 +0000 Subject: [PATCH] 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 --- kernel/chips/adm9240.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/chips/adm9240.c b/kernel/chips/adm9240.c index 7ba5be5b..d7f060eb 100644 --- a/kernel/chips/adm9240.c +++ b/kernel/chips/adm9240.c @@ -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