diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2011-11-08 03:39:43 +0000 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2011-11-09 06:28:20 +0100 |
commit | aa5512157b76a66858d88e02156894f8cd511791 (patch) | |
tree | 0155277999a4d5537a7ce7d9cd548cbb403b758d | |
parent | 5721385b187b3154c7768e6c182501022f4e2e45 (diff) | |
download | u-boot-aa5512157b76a66858d88e02156894f8cd511791.tar.gz u-boot-aa5512157b76a66858d88e02156894f8cd511791.tar.xz u-boot-aa5512157b76a66858d88e02156894f8cd511791.zip |
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>
-rw-r--r-- | drivers/i2c/fsl_i2c.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/fsl_i2c.c b/drivers/i2c/fsl_i2c.c index 258be0a908..5b017a910c 100644 --- a/drivers/i2c/fsl_i2c.c +++ b/drivers/i2c/fsl_i2c.c @@ -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; |