aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-versal-net
diff options
context:
space:
mode:
authorAlgapally Santosh Sagar <santoshsagar.algapally@amd.com>2023-03-01 03:33:33 -0700
committerMichal Simek <michal.simek@amd.com>2023-03-09 13:15:00 +0100
commitcc24fd78593896ba038c71eb356b32fdaa1cd690 (patch)
tree4603310fed78609d6172accbbef6930148f10c89 /arch/arm/mach-versal-net
parent9b669ef059180c3041d3d2237bf05d46102997cf (diff)
downloadu-boot-cc24fd78593896ba038c71eb356b32fdaa1cd690.tar.gz
xilinx: zynqmp: Add missing prototype for zynqmp_mmio_write
Add missing prototype to fix the sparse warning, warning: no previous prototype for 'zynqmp_mmio_write' [-Wmissing-prototypes]. Signed-off-by: Algapally Santosh Sagar <santoshsagar.algapally@amd.com> Signed-off-by: Ashok Reddy Soma <ashok.reddy.soma@amd.com> Link: https://lore.kernel.org/r/20230301103334.1455-2-ashok.reddy.soma@amd.com Signed-off-by: Michal Simek <michal.simek@amd.com>
Diffstat (limited to 'arch/arm/mach-versal-net')
-rw-r--r--arch/arm/mach-versal-net/include/mach/sys_proto.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-versal-net/include/mach/sys_proto.h b/arch/arm/mach-versal-net/include/mach/sys_proto.h
index 5bba9030f2d..a20cf02712b 100644
--- a/arch/arm/mach-versal-net/include/mach/sys_proto.h
+++ b/arch/arm/mach-versal-net/include/mach/sys_proto.h
@@ -8,9 +8,4 @@
void mem_map_fill(void);
-static inline int zynqmp_mmio_write(const u32 address, const u32 mask,
- const u32 value)
-{
- BUILD_BUG();
- return -EINVAL;
-}
+int zynqmp_mmio_write(const u32 address, const u32 mask, const u32 value);