projects
/
platform
/
kernel
/
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
258be0a
..
5b017a9
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;