pinctrl: nomadik: Add terminating entry for platform_device_id table
PATCH 1/1 pinctrl: nomadik: Add terminating entry for platform_device_id table
The platform_device_id table is supposed to be zero-terminated.
Signed-off-by Axel Lin <[email protected]>
--- drivers/pinctrl/pinctrl-nomadik.c | 1 + 1 file changed, 1 insertion(+)
drivers/pinctrl/pinctrl-nomadik.c +1 -0
@@ -1922,6 +1922,7 @@ static const struct platform_device_id nmk_pinctrl_id[] = { { "pinctrl-stn8815", PINCTRL_NMK_STN8815 }, { "pinctrl-db8500", PINCTRL_NMK_DB8500 }, { "pinctrl-db8540", PINCTRL_NMK_DB8540 }, + { } }; static struct platform_driver nmk_pinctrl_driver = {
Signature · 1 line
1.7.9.5
Quoted 3 lines · Axel Lin
The
platform_device_idtable is supposed to be zero-terminated.Signed-off-by Axel Lin <[email protected]>
Thanks Axel, patch applied.
Yours,
Linus Walleij