Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ff075d67 authored by Julia Lawall's avatar Julia Lawall Committed by Greg Kroah-Hartman
Browse files

usb: host: xhci-plat: fix of_table.cocci warnings



Make sure (of/i2c/platform)_device_id tables are NULL terminated

Generated by: scripts/coccinelle/misc/of_table.cocci

Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarJulia Lawall <julia.lawall@lip6.fr>
Signed-off-by: default avatarMathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent f1bbdc3b
Loading
Loading
Loading
Loading
+1 −0
Original line number Original line Diff line number Diff line
@@ -116,6 +116,7 @@ static const struct of_device_id usb_xhci_of_match[] = {
		.compatible = "renesas,rcar-gen3-xhci",
		.compatible = "renesas,rcar-gen3-xhci",
		.data = &xhci_plat_renesas_rcar_gen3,
		.data = &xhci_plat_renesas_rcar_gen3,
	},
	},
	{},
};
};
MODULE_DEVICE_TABLE(of, usb_xhci_of_match);
MODULE_DEVICE_TABLE(of, usb_xhci_of_match);
#endif
#endif