mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 19:26:25 +00:00
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:
parent
0d1cde2358
commit
f40987b64d
1 changed files with 1 additions and 0 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue