提交 aa551215 编写于 作者: K Kumar Gala 提交者: Heiko Schocher

fsl_i2c: Fix compile warning

fsl_i2c.c: In function 'i2c_init':
fsl_i2c.c:245:7: warning: assignment discards qualifiers from pointer target type
Signed-off-by: NKumar Gala <galak@kernel.crashing.org>
上级 5721385b
......@@ -225,7 +225,7 @@ unsigned int get_i2c_clock(int bus)
void
i2c_init(int speed, int slaveadd)
{
struct fsl_i2c *dev;
const struct fsl_i2c *dev;
unsigned int temp;
int bus_num, i;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册