aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/freescale/gianfar.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-17 19:37:34 +0100
committerDavid S. Miller <davem@davemloft.net>2015-03-17 15:00:21 -0400
commit94e5a2a88affa2ff9f95c8577166d2954a110ea8 (patch)
treed1cf0458028d703a8c610d5b274109c54c666549 /drivers/net/ethernet/freescale/gianfar.c
parentAltera TSE: constify of_device_id array (diff)
downloadlinux-dev-94e5a2a88affa2ff9f95c8577166d2954a110ea8.tar.xz
linux-dev-94e5a2a88affa2ff9f95c8577166d2954a110ea8.zip
net/fsl: 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/ethernet/freescale/gianfar.c')
-rw-r--r--drivers/net/ethernet/freescale/gianfar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/gianfar.c b/drivers/net/ethernet/freescale/gianfar.c
index 70fa6887f940..4ee080d49bc0 100644
--- a/drivers/net/ethernet/freescale/gianfar.c
+++ b/drivers/net/ethernet/freescale/gianfar.c
@@ -3594,7 +3594,7 @@ static noinline void gfar_update_link_state(struct gfar_private *priv)
phy_print_status(phydev);
}
-static struct of_device_id gfar_match[] =
+static const struct of_device_id gfar_match[] =
{
{
.type = "network",