]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: Add i2c_new_dummy() utility
authorDavid Brownell <david-b@pacbell.net>
Sun, 27 Jan 2008 17:14:52 +0000 (18:14 +0100)
committerJean Delvare <khali@hyperion.delvare>
Sun, 27 Jan 2008 17:14:52 +0000 (18:14 +0100)
commit5d17b2a75891edd620623a51baffd6f7694cd561
treef2ac0313819539de849ae633c0e70f26d047ea16
parent67207a330325090cc8b7110db371ab1b343a7835
i2c: Add i2c_new_dummy() utility

This adds a i2c_new_dummy() primitive to help work with devices
that consume multiple addresses, which include many I2C eeproms
and at least one RTC.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/i2c/i2c-core.c
include/linux/i2c.h