mv_i2c: use structure to replace the direclty define
Add i2c_clk_enable in the cpu specific code, since previous platform it, while new platform don't need. In the pantheon and armada100 platform, this function is defined as NULL one. Acked-by: NHeiko Schocher <hs@denx.de> Acked-by: NPrafulla Wadaskar <prafulla@marvell.com> Signed-off-by: NLei Wen <leiwen@marvell.com>
Showing
drivers/i2c/mv_i2c.h
0 → 100644
想要评论请 注册 或 登录