1
0
mirror of https://xff.cz/git/u-boot/ synced 2025-10-09 20:16:27 +02:00

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>
This commit is contained in:
Algapally Santosh Sagar
2023-03-01 03:33:33 -07:00
committed by Michal Simek
parent 9b669ef059
commit cc24fd7859
4 changed files with 8 additions and 11 deletions

View File

@@ -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);