summaryrefslogtreecommitdiff
path: root/board/xilinx/zynqmp/xil_io.h
diff options
context:
space:
mode:
Diffstat (limited to 'board/xilinx/zynqmp/xil_io.h')
-rw-r--r--board/xilinx/zynqmp/xil_io.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/board/xilinx/zynqmp/xil_io.h b/board/xilinx/zynqmp/xil_io.h
index c476c902eb..1c1bf32ada 100644
--- a/board/xilinx/zynqmp/xil_io.h
+++ b/board/xilinx/zynqmp/xil_io.h
@@ -9,17 +9,17 @@
#define xil_printf(...)
-void Xil_Out32(unsigned long addr, unsigned long val)
+static void Xil_Out32(unsigned long addr, unsigned long val)
{
writel(val, addr);
}
-int Xil_In32(unsigned long addr)
+static int Xil_In32(unsigned long addr)
{
return readl(addr);
}
-void usleep(u32 sleep)
+static void __maybe_unused usleep(u32 sleep)
{
udelay(sleep);
}