]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
of/i2c: Fill the archdata for I2C devices
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Fri, 28 Nov 2008 09:13:45 +0000 (09:13 +0000)
committerPaul Mackerras <paulus@samba.org>
Wed, 3 Dec 2008 10:03:56 +0000 (21:03 +1100)
commite6a437eba09f1c3505bedf7a9a9766a878ca09fa
treee38cea0e74cac6ecd4e222db98fbf8e1f9286fb8
parent3f3b1632022fcc8317fa3b3c1236471415b3a6b8
of/i2c: Fill the archdata for I2C devices

For I2C devices we just setting the node pointer in the archdata. This
is needed so that the I2C devices could find their OF tree nodes.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Paul Mackerras <paulus@samba.org>
drivers/of/of_i2c.c