summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-11-16 19:58:52 +0100
committerWolfgang Denk <wd@denx.de>2011-11-16 19:58:52 +0100
commit5428949153e8cd337ecb4180ad4fb68eb88a013b (patch)
tree7c54f0101456300cf2fbcb3f7f1a8526376476cc /drivers
parent0963ff3a97ff63e85465008895a68eb2e1cdf112 (diff)
parentaa5512157b76a66858d88e02156894f8cd511791 (diff)
downloadu-boot-imx-5428949153e8cd337ecb4180ad4fb68eb88a013b.zip
u-boot-imx-5428949153e8cd337ecb4180ad4fb68eb88a013b.tar.gz
u-boot-imx-5428949153e8cd337ecb4180ad4fb68eb88a013b.tar.bz2
Merge branch 'master' of git://git.denx.de/u-boot-i2c
* 'master' of git://git.denx.de/u-boot-i2c: fsl_i2c: Fix compile warning
Diffstat (limited to 'drivers')
-rw-r--r--drivers/i2c/fsl_i2c.c2
1 files changed, 1 insertions, 1 deletions
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 @@ 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;