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)
commit6e99806ebb33c1b4906ce4f99eec65d4962f12b9
treef635e145eb92dd2c4ca7bf157664ff770a3f952e
parentdd00a99e7a4b739bd41ef4093760efc7e447f963
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