i2c: bcm2835: Linking platform nodes to adapter nodes
authorFlorian Meier <florian.meier@koalo.de>
Mon, 25 Nov 2013 08:01:50 +0000 (09:01 +0100)
committerWolfram Sang <wsa@the-dreams.de>
Thu, 28 Nov 2013 08:47:53 +0000 (09:47 +0100)
commit07a27a0047274e0ba568ce86b6416c34497a99a7
tree332473f71ffb1a15317645bccb26cd6d756d0a9d
parent40b13ca8dcac6227109d9df1232787d2ba98052e
i2c: bcm2835: Linking platform nodes to adapter nodes

In order to find I2C devices in the device tree, the platform nodes
have to be known by the I2C core. This requires setting the
dev.of_node parameter of the adapter.

Signed-off-by: Florian Meier <florian.meier@koalo.de>
Tested-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
drivers/i2c/busses/i2c-bcm2835.c