From ff075d670cbee4aa969d98298eaa23bc035d201a Mon Sep 17 00:00:00 2001 From: Julia Lawall Date: Thu, 18 Feb 2016 17:55:50 +0200 Subject: [PATCH] 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 --- drivers/usb/host/xhci-plat.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index 3aede6eb9637b..5c15e9bc5f7a4 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 -- 2.30.2