From: Julia Lawall Date: Thu, 18 Feb 2016 15:55:50 +0000 (+0200) Subject: usb: host: xhci-plat: fix of_table.cocci warnings X-Git-Tag: v4.6-rc1~117^2~17 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=ff075d670cbee4aa969d98298eaa23bc035d201a;p=users%2Fhch%2Fblock.git 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 Signed-off-by: Julia Lawall Signed-off-by: Mathias Nyman Signed-off-by: Greg Kroah-Hartman --- 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