net: dsa: make cpu_dp non const
authorVivien Didelot <vivien.didelot@gmail.com>
Fri, 14 Jun 2019 17:49:20 +0000 (13:49 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Jun 2019 03:20:07 +0000 (20:20 -0700)
commit68b2d4a844e157c08773fcd8f412ba1a37bf45b8
treeaff6b4ec74cb3c62df0f7eb80c49e1a35f1cfe2f
parent14aafbd822333684f6595fb492f05eb054354a72
net: dsa: make cpu_dp non const

A port may trigger operations on its dedicated CPU port, so using
cpu_dp as const will raise warnings. Make cpu_dp non const.

Signed-off-by: Vivien Didelot <vivien.didelot@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h