[POWERPC] pasemi: Register i2c devices at boot
authorOlof Johansson <olof@lixom.net>
Thu, 21 Feb 2008 02:25:54 +0000 (13:25 +1100)
committerPaul Mackerras <paulus@samba.org>
Thu, 21 Feb 2008 10:08:35 +0000 (21:08 +1100)
commitbe2553ffb5773e9a689c94bb85326c5b5f00577f
treeed0af15d0d72bcf50867359165d46da3c9ff4c0c
parent3d5d27c40fb38a51eae96a55f51b5a306ed3668d
[POWERPC] pasemi: Register i2c devices at boot

Setup i2c_board_info based on device tree contents.  This has to be
a device_initcall since we need PCI to be probed by the time we
run it, but before the actual driver is initialized.

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/platforms/pasemi/Makefile
arch/powerpc/platforms/pasemi/misc.c [new file with mode: 0644]