From fdae78b5f5a992f8dbeab7702badaf7e90446d90 Mon Sep 17 00:00:00 2001 From: Algapally Santosh Sagar Date: Wed, 14 Jun 2023 03:03:55 -0600 Subject: [PATCH] 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 --- include/zynqmp_firmware.h | 1 + 1 file changed, 1 insertion(+) 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 -- 2.39.5