diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-17 21:37:34 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-17 22:00:21 +0300 |
commit | 94e5a2a88affa2ff9f95c8577166d2954a110ea8 (patch) | |
tree | d1cf0458028d703a8c610d5b274109c54c666549 /drivers/net/ethernet/freescale/fec_mpc52xx.c | |
parent | 27260530db1d926905c2c4e904cb8468b4373c03 (diff) | |
download | linux-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/fec_mpc52xx.c')
-rw-r--r-- | drivers/net/ethernet/freescale/fec_mpc52xx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/fec_mpc52xx.c b/drivers/net/ethernet/freescale/fec_mpc52xx.c index f495796248db..afe7f39cdd7c 100644 --- a/drivers/net/ethernet/freescale/fec_mpc52xx.c +++ b/drivers/net/ethernet/freescale/fec_mpc52xx.c @@ -1057,7 +1057,7 @@ static int mpc52xx_fec_of_resume(struct platform_device *op) } #endif -static struct of_device_id mpc52xx_fec_match[] = { +static const struct of_device_id mpc52xx_fec_match[] = { { .compatible = "fsl,mpc5200b-fec", }, { .compatible = "fsl,mpc5200-fec", }, { .compatible = "mpc5200-fec", }, |