Re: [RFC PATCH 4/5] firmware: smccc: register as platform driver
From: Vedashree Vidwans
Date: Thu Dec 18 2025 - 16:41:29 EST
On 12/12/25 07:31, Matt Ochs wrote:
On Dec 8, 2025, at 16:13, Vedashree Vidwans <vvidwans@xxxxxxxxxx> wrote:...
diff --git a/drivers/firmware/smccc/lfa_fw.c b/drivers/firmware/smccc/lfa_fw.c
index 0e420cefa260..24916fc53420 100644
--- a/drivers/firmware/smccc/lfa_fw.c
+++ b/drivers/firmware/smccc/lfa_fw.c
+
+static int __init lfa_probe(struct platform_device *pdev)
+{
WARNING: modpost: vmlinux: section mismatch in reference: lfa_driver+0x0 (section: .data) -> lfa_probe (section: .init.text)
__init is not needed here, please remove.
Thank you, I will include this change in next update.
Veda