提交 f40987b6 编写于 作者: R Robert P. J. Day 提交者: Grant Likely

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: NRobert P. J. Day <rpjday@crashcourse.ca>
Acked-by: NJean Delvare <khali@linux-fr.org>
Acked-by: NJochen Friedrich <jochen@scram.de>
Acked-by: NStephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
上级 0d1cde23
......@@ -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 {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册