]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: add more const attributes
authorAndrew Lunn <andrew@lunn.ch>
Thu, 9 Nov 2017 22:11:01 +0000 (23:11 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Nov 2017 04:41:40 +0000 (13:41 +0900)
commit510b59cefe3ed7e8858a1124f142a50a68bd20de
tree22949596778d664ec0c7af04b1b79b5a54a3e892
parent0f68cf35c17740d7ed893f6c3c8273b8d44a64b6
net: dsa: add more const attributes

The notify mechanism does not need to modify the port it is notifying.
So make the parameter const.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa_priv.h
net/dsa/port.c