[RFC PATCH 4/5] firmware: smccc: register as platform driver

Matt Ochs mochs at nvidia.com
Fri Dec 12 07:31:01 PST 2025


> On Dec 8, 2025, at 16:13, Vedashree Vidwans <vvidwans at nvidia.com> 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.


More information about the linux-arm-kernel mailing list