[PATCH] i2c-mpc: use the cell-index property to enumerate the I2C adapters

Timur Tabi timur at freescale.com
Fri Dec 2 08:59:42 EST 2011


Scott Wood wrote:
> Ideally we would have a field in struct device_node that points to
> struct device.

I don't think there's a single place in the code where the connection between the device and device_node is made.  In fact, I think dev->of_node needs to be manually initialized by the driver during the OF probe.

-- 
Timur Tabi
Linux kernel developer at Freescale



More information about the Linuxppc-dev mailing list