]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit868a567ceddbaa10ef52f45f821cd31a7348af64
treeed0af15d0d72bcf50867359165d46da3c9ff4c0c
parent833b545063ec3a3ff74c1dc664289291935f77ad
[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]