summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvicencb@gmail.com <vicencb@gmail.com>2012-09-30 04:50:29 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-10-02 19:02:03 +0200
commit1af2b0cb3bb2e6b643834497bbff1cb149698c88 (patch)
tree9d225daaea658080f487c1099a5ed539bf3ef074
parent47d0240b9cdcf9ed8aa166ae62fba5ac48e11bba (diff)
downloadbarebox-1af2b0cb3bb2e6b643834497bbff1cb149698c88.tar.gz
ARM: set rev instead of returning it
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/lib/armlinux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/lib/armlinux.c b/arch/arm/lib/armlinux.c
index 191274e..74d59a9 100644
--- a/arch/arm/lib/armlinux.c
+++ b/arch/arm/lib/armlinux.c
@@ -80,7 +80,7 @@ void armlinux_set_revision(unsigned int rev)
#ifdef CONFIG_ENVIRONMENT_VARIABLES
export_env_ull("armlinux_system_rev", rev);
#else
- return armlinux_system_rev;
+ armlinux_system_rev = rev;
#endif
}