]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita16eee3d933d5279b3f22dcdd4a06e2b86566fe5
treeaff6b4ec74cb3c62df0f7eb80c49e1a35f1cfe2f
parenta9238fb8d38a6c6f33b666e3c09508dd5e3ba3eb
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