OpenFirmware: Include <linux/of_i2c.h> from of_i2c.c.
authorRobert P. J. Day <rpjday@crashcourse.ca>
Tue, 8 Jul 2008 10:38:24 +0000 (06:38 -0400)
committerGrant Likely <grant.likely@secretlab.ca>
Sat, 12 Jul 2008 18:10:52 +0000 (12:10 -0600)
commitf40987b64d0f4d40b006ce09e37161b57c1e970b
tree4f9bf277494e5b083372d9515ab5113338adc770
parent0d1cde235874b00905bce23f659690d060ebf475
OpenFirmware: Include <linux/of_i2c.h> from of_i2c.c.

drivers/of/of_i2c.c should include <linux/of_i2c.h> for the prototype
for of_register_i2c_devices().

Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca>
Acked-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Jochen Friedrich <jochen@scram.de>
Acked-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/of/of_i2c.c