]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
net: dsa: b53: constify b53_io_ops structures
authorJulia Lawall <julia.lawall@lip6.fr>
Tue, 9 Aug 2016 17:09:45 +0000 (19:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 9 Aug 2016 22:09:40 +0000 (15:09 -0700)
commit0dff88d39fd0b17a5e3ff03d0264b823cab1352c
tree03acddfd0ee6da7ca83737f907554a096b9ee162
parent631fee7d70e8eabb642b4bcc58f08bbe880c91aa
net: dsa: b53: constify b53_io_ops structures

The b53_io_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>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/dsa/b53/b53_common.c
drivers/net/dsa/b53/b53_mdio.c
drivers/net/dsa/b53/b53_mmap.c
drivers/net/dsa/b53/b53_priv.h
drivers/net/dsa/b53/b53_spi.c
drivers/net/dsa/b53/b53_srab.c