]> git.baikalelectronics.ru Git - kernel.git/commit
i2c-at91 supports new-style i2c drivers
authorDavid Brownell <david-b@pacbell.net>
Thu, 10 May 2007 10:15:52 +0000 (03:15 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 10 May 2007 16:26:53 +0000 (09:26 -0700)
commitb1741c2722ec9fb15c3436d610890c603e3591a3
treef635e145eb92dd2c4ca7bf157664ff770a3f952e
parent33616f590b2b699bd839681d91994be4f1000dc9
i2c-at91 supports new-style i2c drivers

Make i2c-at91 register as i2c adapter zero (none of these chips seem to
have more than one TWI controllers) to let it kick in any board-specific
device declarations; also make it hotplug/coldplug.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Acked-by: Jean Delvare <khali@linux-fr.org>
Cc: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/i2c/busses/i2c-at91.c