[U-Boot] [PATCH V2] MX31: Make get_reset_cause() static

Stefano Babic sbabic at denx.de
Mon May 16 11:54:07 CEST 2011


Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
Signed-off-by: Stefano Babic <sbabic at denx.de>
---

Changes since V1:
	- as get_cpu_rev is exported, only get_reset_cause
	is set to static.

 arch/arm/cpu/arm1136/mx31/generic.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/arm1136/mx31/generic.c
index fccd2cd..fb01013 100644
--- a/arch/arm/cpu/arm1136/mx31/generic.c
+++ b/arch/arm/cpu/arm1136/mx31/generic.c
@@ -133,7 +133,7 @@ u32 get_cpu_rev(void)
 	return srev | 0x8000;
 }
 
-char *get_reset_cause(void)
+static char *get_reset_cause(void)
 {
 	/* read RCSR register from CCM module */
 	struct clock_control_regs *ccm =
-- 
1.7.1



More information about the U-Boot mailing list