]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
chelsio: constify cphy_ops structures
authorJulia Lawall <julia.lawall@lip6.fr>
Sun, 3 Jan 2016 13:09:37 +0000 (14:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jan 2016 02:58:28 +0000 (21:58 -0500)
commit46f85a9215d7352d886626e29c3fc3095bc5bec7
treef83753d688e9204819fe6bb4d0bc3309f7737093
parent46678612e13027b0ea901664504f3bf347756125
chelsio: constify cphy_ops structures

The cphy_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/chelsio/cxgb/cphy.h
drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c
drivers/net/ethernet/chelsio/cxgb/mv88x201x.c
drivers/net/ethernet/chelsio/cxgb/my3126.c
drivers/net/ethernet/chelsio/cxgb3/ael1002.c
drivers/net/ethernet/chelsio/cxgb3/aq100x.c
drivers/net/ethernet/chelsio/cxgb3/common.h
drivers/net/ethernet/chelsio/cxgb3/vsc8211.c