drivers: net: xgene: constify xgene_mac_ops and xgene_port_ops structures
authorJulia Lawall <julia.lawall@lip6.fr>
Tue, 8 Dec 2015 20:18:25 +0000 (21:18 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Dec 2015 02:39:32 +0000 (21:39 -0500)
commit3cdb73091767649ffd706a5caa3e75a411176f29
tree445c3c5fd1fc1e7b361f4492f9275da1da56d062
parente370abd95675cb19f10a1594415cbf71d96a181c
drivers: net: xgene: constify xgene_mac_ops and xgene_port_ops structures

The xgene_mac_ops and xgene_port_ops structures are never modified, so
declare them as const.

Done with the help of Coccinelle.

Signed-off-by: Julia Lawall <Julia.Lawall@lip6.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c
drivers/net/ethernet/apm/xgene/xgene_enet_hw.h
drivers/net/ethernet/apm/xgene/xgene_enet_main.c
drivers/net/ethernet/apm/xgene/xgene_enet_main.h
drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c
drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.h
drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c
drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.h