commit | 24a9332a58b7f41a0d36c35a2c6897242bffdbc0 | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Mon Nov 06 16:11:43 2017 -0500 |
committer | David S. Miller <davem@davemloft.net> | Thu Nov 09 09:26:49 2017 +0900 |
tree | ab9f6a8e440bbdcaeccd26cf35aa98a2e0d537ad | |
parent | b2d0f5d5dc53532e6f07bc546a476a55ebdfe0f3 [diff] |
net: dsa: constify cpu_dp member of dsa_port A DSA port has a dedicated CPU port assigned to it, stored in the cpu_dp member. It is not meant to be modified by a port, thus make it const. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>