summaryrefslogtreecommitdiff
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorFlorian Fainelli <f.fainelli@gmail.com>2014-08-29 19:43:56 (GMT)
committerDavid S. Miller <davem@davemloft.net>2014-09-02 03:41:45 (GMT)
commit4559154a58fdb18939dda8f1691a2aecf9154166 (patch)
treeb5575c015bb6c8bb849289edae9b64a2493d837e /drivers/net/phy
parent61b7363ffa48b36e2ff086c2d2524e40d3766571 (diff)
downloadlinux-4559154a58fdb18939dda8f1691a2aecf9154166.tar.xz
net: phy: mdio-bcm-unimac: NULL-terminate unimac_mdio_ids
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> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r--drivers/net/phy/mdio-bcm-unimac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/phy/mdio-bcm-unimac.c b/drivers/net/phy/mdio-bcm-unimac.c
index e6b08ce..5b643e5 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 = {