Re: [PATCH v2] pasemi: process i2c device tree entries at boot

2007-10-16 Thread Scott Wood
Olof Johansson wrote: > On Mon, Oct 15, 2007 at 05:54:51PM -0500, Scott Wood wrote: >> Olof Johansson wrote: >>> 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 initial

Re: [PATCH v2] pasemi: process i2c device tree entries at boot

2007-10-15 Thread Olof Johansson
On Mon, Oct 15, 2007 at 05:54:51PM -0500, Scott Wood wrote: > Olof Johansson wrote: >> 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. > > Can we factor at l

Re: [PATCH v2] pasemi: process i2c device tree entries at boot

2007-10-15 Thread Scott Wood
Olof Johansson wrote: > 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. Can we factor at least some of this stuff out into common code? We certainly shouldn'

[PATCH v2] pasemi: process i2c device tree entries at boot

2007-10-15 Thread Olof Johansson
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 <[EMAIL PROTECTED]> --- Turns out some old firmwares don't create the device nod