diff options
author | Fabian Frederick <fabf@skynet.be> | 2015-03-17 18:37:38 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-17 19:00:22 (GMT) |
commit | 437dab40bbfadb72e930adc10da62e5f66129769 (patch) | |
tree | 309b9e0b744d49dc8ad1293100f94b6195978338 | |
parent | 14448e2f8031a46d509c01dacc9834bd623a928d (diff) | |
download | linux-437dab40bbfadb72e930adc10da62e5f66129769.tar.xz |
netdev: octeon_mgmt: 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>
-rw-r--r-- | drivers/net/ethernet/octeon/octeon_mgmt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/octeon/octeon_mgmt.c b/drivers/net/ethernet/octeon/octeon_mgmt.c index d36599f..7bf9c02 100644 --- a/drivers/net/ethernet/octeon/octeon_mgmt.c +++ b/drivers/net/ethernet/octeon/octeon_mgmt.c @@ -1557,7 +1557,7 @@ static int octeon_mgmt_remove(struct platform_device *pdev) return 0; } -static struct of_device_id octeon_mgmt_match[] = { +static const struct of_device_id octeon_mgmt_match[] = { { .compatible = "cavium,octeon-5750-mix", }, |