[U-Boot] [PATCH] MX31: drop warnings in get_cpu_rev

Stefano Babic sbabic at denx.de
Thu Apr 21 18:09:44 CEST 2011


Drop warnings due to recent commit
ARM: mx31: Print the silicon version

Signed-off-by: Stefano Babic <sbabic at denx.de>
CC: Fabio Estevam <fabio.estevam at freescale.com>
---
 arch/arm/include/asm/arch-mx31/imx-regs.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/include/asm/arch-mx31/imx-regs.h b/arch/arm/include/asm/arch-mx31/imx-regs.h
index 74444f2..c830a03 100644
--- a/arch/arm/include/asm/arch-mx31/imx-regs.h
+++ b/arch/arm/include/asm/arch-mx31/imx-regs.h
@@ -105,7 +105,7 @@ struct iim_regs {
 
 struct mx3_cpu_type {
 	u8 srev;
-	const char *v;
+	char *v;
 };
 
 #define IOMUX_PADNUM_MASK	0x1ff
-- 
1.7.1



More information about the U-Boot mailing list