summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/freescale/gianfar_ptp.c
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-17 18:37:34 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-03-17 19:00:21 (GMT)
commit94e5a2a88affa2ff9f95c8577166d2954a110ea8 (patch)
treed1cf0458028d703a8c610d5b274109c54c666549 /drivers/net/ethernet/freescale/gianfar_ptp.c
parent27260530db1d926905c2c4e904cb8468b4373c03 (diff)
downloadlinux-94e5a2a88affa2ff9f95c8577166d2954a110ea8.tar.xz
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_ptp.c')
-rw-r--r--drivers/net/ethernet/freescale/gianfar_ptp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/gianfar_ptp.c b/drivers/net/ethernet/freescale/gianfar_ptp.c
index 1682634..77353366 100644
--- a/drivers/net/ethernet/freescale/gianfar_ptp.c
+++ b/drivers/net/ethernet/freescale/gianfar_ptp.c
@@ -554,7 +554,7 @@ static int gianfar_ptp_remove(struct platform_device *dev)
return 0;
}
-static struct of_device_id match_table[] = {
+static const struct of_device_id match_table[] = {
{ .compatible = "fsl,etsec-ptp" },
{},
};