summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDirk Behme <dirk.behme@gmail.com>2012-11-11 12:25:02 +0100
committerDirk Behme <dirk.behme@gmail.com>2012-11-11 12:30:11 +0100
commit06d65c1452d746864cf1c6c54db1027c81eaef90 (patch)
tree0a03bee4ba0b94530e4e1127ed90f4e0c62b783a
parent67446eedb97943fff3f5573e55dc9ef8e0b24612 (diff)
cmd_hdmidet: add const to fix a compiler warning
Add const to fix the compiler warning cmd_hdmidet.c:34: warning: initialization from incompatible pointer type Signed-off-by: Dirk Behme <dirk.behme@gmail.com>
-rw-r--r--arch/arm/imx-common/cmd_hdmidet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/imx-common/cmd_hdmidet.c b/arch/arm/imx-common/cmd_hdmidet.c
index ede5d886ca..f7dff3b096 100644
--- a/arch/arm/imx-common/cmd_hdmidet.c
+++ b/arch/arm/imx-common/cmd_hdmidet.c
@@ -24,7 +24,7 @@
#include <asm/arch/mxc_hdmi.h>
#include <asm/io.h>
-int do_hdmidet(cmd_tbl_t *cmdtp, int flag, int argc, char *argv[])
+int do_hdmidet(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
u8 reg = __raw_readb(HDMI_ARB_BASE_ADDR+HDMI_PHY_STAT0);
return (reg&HDMI_PHY_HPD)