Patchwork [U-Boot,1/3] omap-common/hwinit-common.c: Mark omap_rev_string as static

login
register
mail settings
Submitter Tom Rini
Date May 31, 2013, 6:18 p.m.
Message ID <1370024339-28355-1-git-send-email-trini@ti.com>
Download mbox | patch
Permalink /patch/247999/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Tom Rini - May 31, 2013, 6:18 p.m.
Only called in this file, mark as static.

Signed-off-by: Tom Rini <trini@ti.com>
---
 arch/arm/cpu/armv7/omap-common/hwinit-common.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/arch/arm/cpu/armv7/omap-common/hwinit-common.c b/arch/arm/cpu/armv7/omap-common/hwinit-common.c
index 1645120..e614641 100644
--- a/arch/arm/cpu/armv7/omap-common/hwinit-common.c
+++ b/arch/arm/cpu/armv7/omap-common/hwinit-common.c
@@ -84,7 +84,7 @@  u32 cortex_rev(void)
 	return rev;
 }
 
-void omap_rev_string(void)
+static void omap_rev_string(void)
 {
 	u32 omap_rev = omap_revision();
 	u32 soc_variant	= (omap_rev & 0xF0000000) >> 28;