diff mbox

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

Message ID alpine.DEB.2.02.1601080818340.2011@localhost6.localdomain6 (mailing list archive)
State Superseded
Delegated to: Simon Horman
Headers show

Commit Message

Julia Lawall Jan. 8, 2016, 7:20 a.m. UTC
Make sure (of/i2c/platform)_device_id tables are NULL terminated

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

CC: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>

 xhci-plat.c |    1 +
 1 file changed, 1 insertion(+)

To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox


--- a/drivers/usb/host/xhci-plat.c
+++ b/drivers/usb/host/xhci-plat.c
@@ -116,6 +116,7 @@  static const struct of_device_id usb_xhc
 		.compatible = "renesas,rcar-gen3-xhci",
 		.data = &xhci_plat_renesas_rcar_gen3,
+	{},
 MODULE_DEVICE_TABLE(of, usb_xhci_of_match);