[U-Boot] [PATCH] MX31: Make get_cpu_rev() and get_reset_cause() static
Fabio Estevam
festevam at gmail.com
Thu Apr 21 22:44:48 CEST 2011
Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
---
arch/arm/cpu/arm1136/mx31/generic.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/cpu/arm1136/mx31/generic.c b/arch/arm/cpu/arm1136/mx31/generic.c
index 18572b9..c17c738 100644
--- a/arch/arm/cpu/arm1136/mx31/generic.c
+++ b/arch/arm/cpu/arm1136/mx31/generic.c
@@ -118,7 +118,7 @@ struct mx3_cpu_type mx31_cpu_type[] = {
{ .srev = 0x29, .v = "2.0" },
};
-char *get_cpu_rev(void)
+static char *get_cpu_rev(void)
{
u32 i, srev;
@@ -132,7 +132,7 @@ char *get_cpu_rev(void)
return "unknown";
}
-char *get_reset_cause(void)
+static char *get_reset_cause(void)
{
/* read RCSR register from CCM module */
struct clock_control_regs *ccm =
--
1.6.0.4
More information about the U-Boot
mailing list