diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-17 21:37:35 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-17 22:00:21 +0300 |
commit | fa2b183726df83217dec2b7c0f44317b1045915a (patch) | |
tree | e1f422828375df7db1eb268b9ea915835ac91089 /drivers/net/ethernet/ethoc.c | |
parent | 94e5a2a88affa2ff9f95c8577166d2954a110ea8 (diff) | |
download | linux-fa2b183726df83217dec2b7c0f44317b1045915a.tar.xz |
net: ethoc: 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/ethoc.c')
-rw-r--r-- | drivers/net/ethernet/ethoc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/ethoc.c b/drivers/net/ethernet/ethoc.c index f88cfaa359e7..442410cd2ca4 100644 --- a/drivers/net/ethernet/ethoc.c +++ b/drivers/net/ethernet/ethoc.c @@ -1299,7 +1299,7 @@ static int ethoc_resume(struct platform_device *pdev) # define ethoc_resume NULL #endif -static struct of_device_id ethoc_match[] = { +static const struct of_device_id ethoc_match[] = { { .compatible = "opencores,ethoc", }, {}, }; |