i2c-nforce2: Declare PEC as supported. This is a backport from Linux 2.6.

Kill dead code.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@4953 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-10-14 12:35:10 +00:00
1 parent f945c74d50
commit 551652eec1
2 files changed
+3 -6

No files matched your search

+1
View File
@@ -21,6 +21,7 @@ SVN HEAD
Man page sensord.8: Update
Module fscher: Add missing read of control register (2.6 backport)
Module i2c-i801: Add Tolapai support (2.6 backport)
Module i2c-nforce2: Declare PEC as supported (2.6 backport)
Module i2c-piix4: Add ATI SB700 and SB800 support (2.6 backport)
Module lm93: Fix an array overrun (2.6 backport)
Program sensord: Fix f71805f fans
+2 -6
View File
@@ -134,10 +134,6 @@ static struct pci_driver nforce2_driver;
static s32 nforce2_access(struct i2c_adapter *adap, u16 addr,
unsigned short flags, char read_write,
u8 command, int size, union i2c_smbus_data *data);
/*
static int nforce2_block_transaction(union i2c_smbus_data *data,
char read_write, int i2c_enable);
*/
static u32 nforce2_func(struct i2c_adapter *adapter);
@@ -278,8 +274,8 @@ u32 nforce2_func(struct i2c_adapter *adapter)
{
/* other functionality might be possible, but is not tested */
return I2C_FUNC_SMBUS_QUICK | I2C_FUNC_SMBUS_BYTE |
I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA /* |
I2C_FUNC_SMBUS_BLOCK_DATA */;
I2C_FUNC_SMBUS_BYTE_DATA | I2C_FUNC_SMBUS_WORD_DATA |
I2C_FUNC_SMBUS_HWPEC_CALC;
}
static void nforce2_inc(struct i2c_adapter *adapter)