[PATCH 14/20] ARM: legacy Linux support: Make locally used functions static

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 arch/arm/lib32/armlinux.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/arch/arm/lib32/armlinux.c b/arch/arm/lib32/armlinux.c
index 2520fe210c..c970f029c5 100644
--- a/arch/arm/lib32/armlinux.c
+++ b/arch/arm/lib32/armlinux.c
@@ -57,7 +57,7 @@ void armlinux_set_architecture(int architecture)
 	armlinux_architecture = architecture;
 }
 
-int armlinux_get_architecture(void)
+static int armlinux_get_architecture(void)
 {
 	getenv_uint("armlinux_architecture", &armlinux_architecture);
 
@@ -70,7 +70,7 @@ void armlinux_set_revision(unsigned int rev)
 	armlinux_system_rev = rev;
 }
 
-unsigned int armlinux_get_revision(void)
+static unsigned int armlinux_get_revision(void)
 {
 	getenv_uint("armlinux_system_rev", &armlinux_system_rev);
 
@@ -83,7 +83,7 @@ void armlinux_set_serial(u64 serial)
 	armlinux_system_serial = serial;
 }
 
-u64 armlinux_get_serial(void)
+static u64 armlinux_get_serial(void)
 {
 	getenv_ull("armlinux_system_serial", &armlinux_system_serial);
 
-- 
2.19.0


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux