Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f40987b6 authored by Robert P. J. Day's avatar Robert P. J. Day Committed by Grant Likely
Browse files

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: default avatarRobert P. J. Day <rpjday@crashcourse.ca>
Acked-by: default avatarJean Delvare <khali@linux-fr.org>
Acked-by: default avatarJochen Friedrich <jochen@scram.de>
Acked-by: default avatarStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 0d1cde23
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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 {