aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/octeon
diff options
context:
space:
mode:
authorFabian Frederick <fabf@skynet.be>2015-03-17 19:37:38 +0100
committerDavid S. Miller <davem@davemloft.net>2015-03-17 15:00:22 -0400
commit437dab40bbfadb72e930adc10da62e5f66129769 (patch)
tree309b9e0b744d49dc8ad1293100f94b6195978338 /drivers/net/ethernet/octeon
parentnet: ethernet: apple: constify of_device_id array (diff)
downloadlinux-dev-437dab40bbfadb72e930adc10da62e5f66129769.tar.xz
linux-dev-437dab40bbfadb72e930adc10da62e5f66129769.zip
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>
Diffstat (limited to 'drivers/net/ethernet/octeon')
-rw-r--r--drivers/net/ethernet/octeon/octeon_mgmt.c2
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 d36599f47af5..7bf9c028d8d7 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",
},