]> err.no Git - linux-2.6/commitdiff
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)
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

index b2ccdcbeb8966bfb0ee75b62c4e233eea4063a08..5c015d310d4a9a92b493cbd7d34691c85dd6b992 100644 (file)
@@ -13,6 +13,7 @@
 
 #include <linux/i2c.h>
 #include <linux/of.h>
+#include <linux/of_i2c.h>
 #include <linux/module.h>
 
 struct i2c_driver_device {