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>
This commit is contained in:
Robert P. J. Day 2008-07-08 06:38:24 -04:00 committed by Grant Likely
parent 0d1cde2358
commit f40987b64d

View 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 {