Message ID | 1409341436-22900-1-git-send-email-f.fainelli@gmail.com |
---|---|
State | Accepted, archived |
Delegated to: | David Miller |
Headers | show |
From: Florian Fainelli <f.fainelli@gmail.com> Date: Fri, 29 Aug 2014 12:43:56 -0700 > drivers/net/phy/mdio-bcm-unimac.c:195:37-38: unimac_mdio_ids is not NULL > terminated at line 195 > > Make sure of_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: Florian Fainelli <f.fainelli@gmail.com> Applied. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff --git a/drivers/net/phy/mdio-bcm-unimac.c b/drivers/net/phy/mdio-bcm-unimac.c index e6b08ceb9c37..5b643e588e8f 100644 --- a/drivers/net/phy/mdio-bcm-unimac.c +++ b/drivers/net/phy/mdio-bcm-unimac.c @@ -193,6 +193,7 @@ static struct of_device_id unimac_mdio_ids[] = { { .compatible = "brcm,genet-mdio-v2", }, { .compatible = "brcm,genet-mdio-v1", }, { .compatible = "brcm,unimac-mdio", }, + { /* sentinel */ }, }; static struct platform_driver unimac_mdio_driver = {