Skip to content

Commit

Permalink
OpenFirmware: Include <linux/of_i2c.h> from of_i2c.c.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Robert P. J. Day authored and Grant Likely committed Jul 12, 2008
1 parent 0d1cde2 commit f40987b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/of/of_i2c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f40987b

Please sign in to comment.