[PATCH v2 4/8] pinctrl: mvebu: pinctrl driver for 98DX2530 SoC

Andrew Lunn andrew at lunn.ch
Tue Mar 15 07:33:55 PDT 2022


> > +static struct platform_driver ac5_pinctrl_driver = {
> > +	.driver = {
> > +		.name = "ac5-pinctrl",
> > +		.of_match_table = of_match_ptr(ac5_pinctrl_of_match),
> 
> of_match_ptr() does not look correct for OF-only platform. This should
> complain in W=1 compile tests on !OF config.

The Marvell family of SoC which this embedded SoC borrows HW blocks
from can boot using ACPI. I doubt anybody would boot this particularly
SoC using ACPI, but the drivers Chris copied probably do build !OF for
when ACPI is in us.

     Andrew



More information about the linux-arm-kernel mailing list