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)
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

Simple merge