From: Algapally Santosh Sagar Date: Wed, 14 Jun 2023 09:03:55 +0000 (-0600) Subject: xilinx: zynq: Add missing prototype for zynqmp_mmio_write X-Git-Tag: v2025.01-rc5-pxa1908~931^2~36 X-Git-Url: http://git.dujemihanovic.xyz/html/index.html?a=commitdiff_plain;h=fdae78b5f5a992f8dbeab7702badaf7e90446d90;p=u-boot.git xilinx: zynq: 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 Signed-off-by: Ashok Reddy Soma Link: https://lore.kernel.org/r/20230614090359.10809-3-ashok.reddy.soma@amd.com Signed-off-by: Michal Simek --- diff --git a/include/zynqmp_firmware.h b/include/zynqmp_firmware.h index 1192d5902d..c56ad3f920 100644 --- a/include/zynqmp_firmware.h +++ b/include/zynqmp_firmware.h @@ -454,6 +454,7 @@ int zynqmp_pm_set_sd_config(u32 node, enum pm_sd_config_type config, u32 value); int zynqmp_pm_set_gem_config(u32 node, enum pm_gem_config_type config, u32 value); int zynqmp_pm_is_function_supported(const u32 api_id, const u32 id); +int zynqmp_mmio_write(const u32 address, const u32 mask, const u32 value); /* Type of Config Object */ #define PM_CONFIG_OBJECT_TYPE_BASE 0x1U