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)
commitbb9f603174545c01aea92f116803aeb0e6478b28
tree22949596778d664ec0c7af04b1b79b5a54a3e892
parent5f4dbc50ce4d74b6f57a25fa114fcefe55acce17
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