diff mbox

[v3,2/2] usb: host: xhci-plat: fix of_table.cocci warnings

Message ID 1452650437-26312-3-git-send-email-horms+renesas@verge.net.au (mailing list archive)
State Not Applicable
Delegated to: Simon Horman
Headers show

Commit Message

Simon Horman Jan. 13, 2016, 2 a.m. UTC
From: Julia Lawall <julia.lawall@lip6.fr>

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

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

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>

---
v3
* No change

v2
* New patch
---
 drivers/usb/host/xhci-plat.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
index 05d09d7547ea..cb2f080ab0a3 100644
--- 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_xhci_of_match[] = {
 		.compatible = "renesas,rcar-gen3-xhci",
 		.data = &xhci_plat_renesas_rcar_gen3,
 	},
+	{},
 };
 MODULE_DEVICE_TABLE(of, usb_xhci_of_match);
 #endif