summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJulia Lawall <julia.lawall@lip6.fr>2016-02-18 17:55:50 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-03-03 19:44:06 -0800
commitff075d670cbee4aa969d98298eaa23bc035d201a (patch)
tree7e41ee175c4cf0fe91fa41fe365420860d079041 /drivers
parentf1bbdc3b0402061ac52fc1b34cc018b0c227f4a4 (diff)
downloadlinux-ff075d670cbee4aa969d98298eaa23bc035d201a.tar.gz
linux-ff075d670cbee4aa969d98298eaa23bc035d201a.tar.bz2
linux-ff075d670cbee4aa969d98298eaa23bc035d201a.zip
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: Fengguang Wu <fengguang.wu@intel.com> Signed-off-by: Julia Lawall <julia.lawall@lip6.fr> Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/host/xhci-plat.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c
index 3aede6eb9637..5c15e9bc5f7a 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