net: dsa: make dsa_switch_ops const
Make these structures const as they are only stored in the ops field of a dsa_switch structure, which is const. Done using Coccinelle. Signed-off-by:Bhumika Goyal <bhumirks@gmail.com> Reviewed-by:
Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
parent
42013e90
Please register or sign in to comment