On 11/7/25 11:28, Michal Simek wrote:
The commit 1b267fe1824e ("firmware: xilinx: Prepare code for new SMC firmware format") introduce new __data macro that's why use it in clock driver too. Signed-off-by: Michal Simek <[email protected]> --- drivers/clk/clk_versal.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/clk/clk_versal.c b/drivers/clk/clk_versal.c index c62a747036d9..0c754943deda 100644 --- a/drivers/clk/clk_versal.c +++ b/drivers/clk/clk_versal.c @@ -106,8 +106,8 @@ struct versal_clk_priv { struct versal_clock *clk; };-static ulong pl_alt_ref_clk __section(".data");-static ulong ref_clk __section(".data"); +static ulong __data pl_alt_ref_clk; +static ulong __data ref_clk;struct versal_pm_query_data {u32 qid; @@ -116,8 +116,8 @@ struct versal_pm_query_data { u32 arg3; };-static struct versal_clock *clock __section(".data");-static unsigned int clock_max_idx __section(".data"); +static struct versal_clock __data *clock; +static unsigned int __data clock_max_idx;#define PM_QUERY_DATA 35
Applied. M

