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>
This commit is contained in:
Kumar Gala 2011-11-08 03:39:43 +00:00 committed by Heiko Schocher
parent 5721385b18
commit aa5512157b

View file

@ -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;