diff options
author | Kumar Gala | 2011-11-08 03:39:43 +0000 |
---|---|---|
committer | Heiko Schocher | 2011-11-09 06:28:20 +0100 |
commit | aa5512157b76a66858d88e02156894f8cd511791 (patch) | |
tree | 0155277999a4d5537a7ce7d9cd548cbb403b758d /drivers/i2c | |
parent | 5721385b187b3154c7768e6c182501022f4e2e45 (diff) |
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/i2c')
-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 258be0a908e..5b017a910cd 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; |