projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5721385
)
fsl_i2c: Fix compile warning
author
Kumar Gala
<galak@kernel.crashing.org>
Tue, 8 Nov 2011 03:39:43 +0000
(
03:39
+0000)
committer
Heiko Schocher
<hs@denx.de>
Wed, 9 Nov 2011 05:28:20 +0000
(06:28 +0100)
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>
drivers/i2c/fsl_i2c.c
patch
|
blob
|
history
diff --git
a/drivers/i2c/fsl_i2c.c
b/drivers/i2c/fsl_i2c.c
index 258be0a908ea73bbf9265057df6e2a20d7070be5..5b017a910cd7bbfd919cb5c3d8033a568302f91e 100644
(file)
--- 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;