i2c-au1550: Add SMBus functionality flag

i2c-au1550: Add SMBus functionality flag

Add SMBus functionality flag, so we can use eeprom and similar
drivers.

Signed-off-by: Domen Puncer <domen.puncer@ultra.si>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
Domen Puncer 2006-08-13 23:36:27 +02:00 committed by Greg Kroah-Hartman
parent 8859942ede
commit 6ed0713479

View File

@ -285,7 +285,7 @@ au1550_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, int num)
static u32 static u32
au1550_func(struct i2c_adapter *adap) au1550_func(struct i2c_adapter *adap)
{ {
return I2C_FUNC_I2C; return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL;
} }
static struct i2c_algorithm au1550_algo = { static struct i2c_algorithm au1550_algo = {