summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorAndreas Bießmann <biessmann@corscience.de>2011-02-09 15:10:31 +0100
committerWolfgang Denk <wd@denx.de>2011-04-12 22:58:32 +0200
commit418e046d8931a60986d02a47bf095ca78dcdccaf (patch)
tree9e8c079def9298065d6ddb95a1fd468d5a44f433 /common
parent8c3aff525c710a8a53c96e0bb98c988483429418 (diff)
downloadu-boot-imx-418e046d8931a60986d02a47bf095ca78dcdccaf.zip
u-boot-imx-418e046d8931a60986d02a47bf095ca78dcdccaf.tar.gz
u-boot-imx-418e046d8931a60986d02a47bf095ca78dcdccaf.tar.bz2
common/cmd_bdinfo.c: fix do_bdinfo() for AVR32
This patch fixes following warning message: ---8<--- cmd_bdinfo.c:458: warning: initialization from incompatible pointer type --->8--- There was a prototype change in 54841ab50c20d6fa6c9cc3eb826989da3a22d934 for argv[] pointer type to const. This change was not made for AVR32 cause this code came in later by a merge. Signed-off-by: Andreas Bie�mann <biessmann@corscience.de>
Diffstat (limited to 'common')
-rw-r--r--common/cmd_bdinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_bdinfo.c b/common/cmd_bdinfo.c
index bba7374..1d76ffa 100644
--- a/common/cmd_bdinfo.c
+++ b/common/cmd_bdinfo.c
@@ -304,7 +304,7 @@ int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
#elif defined(CONFIG_AVR32)
-int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_bdinfo ( cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
bd_t *bd = gd->bd;