Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Fabian Frederick and committed by
David S. Miller
437dab40 14448e2f

+1 -1
+1 -1
drivers/net/ethernet/octeon/octeon_mgmt.c
··· 1557 1557 return 0; 1558 1558 } 1559 1559 1560 - static struct of_device_id octeon_mgmt_match[] = { 1560 + static const struct of_device_id octeon_mgmt_match[] = { 1561 1561 { 1562 1562 .compatible = "cavium,octeon-5750-mix", 1563 1563 },