aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-au1550.c
diff options
context:
space:
mode:
authorDomen Puncer <domen.puncer@ultra.si>2006-08-13 17:36:27 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2006-09-26 18:38:50 -0400
commit6ed07134792655db12fddaafbf870425331a21f6 (patch)
treee98129c07c99a3fd2054d4b3cd442258a352b66a /drivers/i2c/busses/i2c-au1550.c
parent8859942ede8154c1e90e3b0d1b60aecf0cfaa169 (diff)
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>
Diffstat (limited to 'drivers/i2c/busses/i2c-au1550.c')
-rw-r--r--drivers/i2c/busses/i2c-au1550.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-au1550.c b/drivers/i2c/busses/i2c-au1550.c
index 02a359ebc0f0..7140eb00587a 100644
--- a/drivers/i2c/busses/i2c-au1550.c
+++ b/drivers/i2c/busses/i2c-au1550.c
@@ -285,7 +285,7 @@ au1550_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs, int num)
285static u32 285static u32
286au1550_func(struct i2c_adapter *adap) 286au1550_func(struct i2c_adapter *adap)
287{ 287{
288 return I2C_FUNC_I2C; 288 return I2C_FUNC_I2C | I2C_FUNC_SMBUS_EMUL;
289} 289}
290 290
291static struct i2c_algorithm au1550_algo = { 291static struct i2c_algorithm au1550_algo = {