diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-17 19:40:23 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-17 20:00:23 +0100 |
commit | d8a7dadbdfde042c07599e8ac90c7718aef76da7 (patch) | |
tree | 975035c0d7ee527f02a53c0d5139bfa6dfb5f4f7 /drivers/net/phy/mdio-bcm-unimac.c | |
parent | orinoco: constify of_device_id array (diff) | |
download | linux-d8a7dadbdfde042c07599e8ac90c7718aef76da7.tar.xz linux-d8a7dadbdfde042c07599e8ac90c7718aef76da7.zip |
net: phy: constify of_device_id array
of_device_id is always used as const.
(See driver.of_match_table and open firmware functions)
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/phy/mdio-bcm-unimac.c')
-rw-r--r-- | drivers/net/phy/mdio-bcm-unimac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/mdio-bcm-unimac.c b/drivers/net/phy/mdio-bcm-unimac.c index 6deac6d32f57..414fdf1f343f 100644 --- a/drivers/net/phy/mdio-bcm-unimac.c +++ b/drivers/net/phy/mdio-bcm-unimac.c @@ -187,7 +187,7 @@ static int unimac_mdio_remove(struct platform_device *pdev) return 0; } -static struct of_device_id unimac_mdio_ids[] = { +static const struct of_device_id unimac_mdio_ids[] = { { .compatible = "brcm,genet-mdio-v4", }, { .compatible = "brcm,genet-mdio-v3", }, { .compatible = "brcm,genet-mdio-v2", }, |