diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2011-11-08 07:39:43 +0400 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2011-11-09 09:28:20 +0400 |
commit | aa5512157b76a66858d88e02156894f8cd511791 (patch) | |
tree | 0155277999a4d5537a7ce7d9cd548cbb403b758d /drivers | |
parent | 5721385b187b3154c7768e6c182501022f4e2e45 (diff) | |
download | u-boot-aa5512157b76a66858d88e02156894f8cd511791.tar.xz |
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>
Diffstat (limited to 'drivers')
-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; |