summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-socfpga/include/mach
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-10-08 08:32:50 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2018-10-08 08:36:45 +0200
commit7ffb79b4f2e8cd0d65814a2e7f8c78e176422e77 (patch)
tree90f2d067a500c4d499ae3379369e3f451ea98480 /arch/arm/mach-socfpga/include/mach
parent44b4a1ce38f08a5bf350ba1dd527e8ae9cb3ca05 (diff)
downloadbarebox-7ffb79b4f2e8cd0d65814a2e7f8c78e176422e77.tar.gz
ARM: socfpga: Arria10: add missing static
Avoid "multiple definition of `a10_wait_for_usermode'" Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm/mach-socfpga/include/mach')
-rw-r--r--arch/arm/mach-socfpga/include/mach/arria10-fpga.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-socfpga/include/mach/arria10-fpga.h b/arch/arm/mach-socfpga/include/mach/arria10-fpga.h
index 0d957de..2e29c86 100644
--- a/arch/arm/mach-socfpga/include/mach/arria10-fpga.h
+++ b/arch/arm/mach-socfpga/include/mach/arria10-fpga.h
@@ -72,7 +72,7 @@
#define CFGWDTH_32 1
#define CFGWDTH_16 0
-int inline a10_wait_for_usermode(int timeout) {
+static inline int a10_wait_for_usermode(int timeout) {
while ((readl(ARRIA10_FPGAMGRREGS_ADDR +
A10_FPGAMGR_IMGCFG_STAT_OFST) &
(A10_FPGAMGR_IMGCFG_STAT_F2S_EARLY_USERMODE |