summaryrefslogtreecommitdiffstats
path: root/drivers/net/phy/mdio-mux-mmioreg.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-17 19:40:23 +0100
committerDavid S. Miller <davem@davemloft.net>2015-03-17 15:00:23 -0400
commitd8a7dadbdfde042c07599e8ac90c7718aef76da7 (patch)
tree975035c0d7ee527f02a53c0d5139bfa6dfb5f4f7 /drivers/net/phy/mdio-mux-mmioreg.c
parent3848124b3e81055e176377345beb37ee07944d91 (diff)
downloadtalos-obmc-linux-d8a7dadbdfde042c07599e8ac90c7718aef76da7.tar.gz
talos-obmc-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-mux-mmioreg.c')
-rw-r--r--drivers/net/phy/mdio-mux-mmioreg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/phy/mdio-mux-mmioreg.c b/drivers/net/phy/mdio-mux-mmioreg.c
index 0aa985c74014..2377c1341172 100644
--- a/drivers/net/phy/mdio-mux-mmioreg.c
+++ b/drivers/net/phy/mdio-mux-mmioreg.c
@@ -145,7 +145,7 @@ static int mdio_mux_mmioreg_remove(struct platform_device *pdev)
return 0;
}
-static struct of_device_id mdio_mux_mmioreg_match[] = {
+static const struct of_device_id mdio_mux_mmioreg_match[] = {
{
.compatible = "mdio-mux-mmioreg",
},
OpenPOWER on IntegriCloud