commit | aa5512157b76a66858d88e02156894f8cd511791 | [log] [tgz] |
---|---|---|
author | Kumar Gala <galak@kernel.crashing.org> | Tue Nov 08 03:39:43 2011 +0000 |
committer | Heiko Schocher <hs@denx.de> | Wed Nov 09 06:28:20 2011 +0100 |
tree | 0155277999a4d5537a7ce7d9cd548cbb403b758d | |
parent | 5721385b187b3154c7768e6c182501022f4e2e45 [diff] [blame] |
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: Kumar Gala <galak@kernel.crashing.org>
diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c index 258be0a..5b017a9 100644 --- a/drivers/i2c/fsl_i2c.c +++ b/drivers/i2c/fsl_i2c.c
@@ -225,7 +225,7 @@ void i2c_init(int speed, int slaveadd) { - struct fsl_i2c *dev; + const struct fsl_i2c *dev; unsigned int temp; int bus_num, i;