diff options
author | Wolfgang Denk <wd@denx.de> | 2010-10-26 23:22:36 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-10-27 20:09:59 +0200 |
commit | 8343f8a76434b7162cf5a4da5f456b014868853c (patch) | |
tree | c0cb8dcfa6e8fd5d1a809cf9dc72aa44da432eae /lib/string.c | |
parent | 79e63139368eb7233b738d3d5a0df018a1287e3b (diff) | |
download | u-boot-imx-8343f8a76434b7162cf5a4da5f456b014868853c.zip u-boot-imx-8343f8a76434b7162cf5a4da5f456b014868853c.tar.gz u-boot-imx-8343f8a76434b7162cf5a4da5f456b014868853c.tar.bz2 |
post/drivers/i2c.c: fix compile error
Commit 7e263ce "post/i2c: Clean up detection logic" added a "const"
qualifier to the declaration of i2c_addr_list[], missing the fact that
the list gets modified later in the code, which results in build
errors like these:
i2c.c: In function 'i2c_post_test':
i2c.c:88: error: assignment of read-only location
Remove the incorrect "const".
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Peter Tyser <ptyser@xes-inc.com>
Cc: Heiko Schocher <hs@denx.de>
Acked-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'lib/string.c')
0 files changed, 0 insertions, 0 deletions