diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-17 14:37:34 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-17 15:00:21 -0400 |
commit | 94e5a2a88affa2ff9f95c8577166d2954a110ea8 (patch) | |
tree | d1cf0458028d703a8c610d5b274109c54c666549 /drivers/net/ethernet/freescale/ucc_geth.c | |
parent | 27260530db1d926905c2c4e904cb8468b4373c03 (diff) |
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/ucc_geth.c')
-rw-r--r-- | drivers/net/ethernet/freescale/ucc_geth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/freescale/ucc_geth.c b/drivers/net/ethernet/freescale/ucc_geth.c index 357e8b576905..bfdccbd58be0 100644 --- a/drivers/net/ethernet/freescale/ucc_geth.c +++ b/drivers/net/ethernet/freescale/ucc_geth.c | |||
@@ -3930,7 +3930,7 @@ static int ucc_geth_remove(struct platform_device* ofdev) | |||
3930 | return 0; | 3930 | return 0; |
3931 | } | 3931 | } |
3932 | 3932 | ||
3933 | static struct of_device_id ucc_geth_match[] = { | 3933 | static const struct of_device_id ucc_geth_match[] = { |
3934 | { | 3934 | { |
3935 | .type = "network", | 3935 | .type = "network", |
3936 | .compatible = "ucc_geth", | 3936 | .compatible = "ucc_geth", |