]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: constify qlcnic_dcb_ops structures
authorJulia Lawall <julia.lawall@lip6.fr>
Sun, 27 Dec 2015 21:01:29 +0000 (22:01 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Dec 2015 05:44:52 +0000 (00:44 -0500)
commit621c1bbe23fc916eec29838c8c98e2f9973b971b
tree017faa63c5d6b7ae33b373900ae6f29f97b3152e
parentaca0de5c88595315fc5a7aca04f11808b9a5efbb
qlcnic: constify qlcnic_dcb_ops structures

The qlcnic_dcb_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/qlogic/qlcnic/qlcnic_dcb.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_dcb.h