OSDN Git Service

net: dsa: better scoping of slave functions
authorVivien Didelot <vivien.didelot@savoirfairelinux.com>
Wed, 20 Sep 2017 23:31:57 +0000 (19:31 -0400)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Sep 2017 22:24:01 +0000 (15:24 -0700)
commit4fa7b718881a5358286903b796968cea80993820
tree419c900361fc50319d1a06e70a533aacc779be36
parent0abfd494deefdbab66ac03c1181a614285e7d90c
net: dsa: better scoping of slave functions

A few DSA slave functions take a dsa_slave_priv pointer as first
argument, whereas the scope of the slave.c functions is the slave
net_device structure. Fix this and rename dsa_netpoll_send_skb to
dsa_slave_netpoll_send_skb.

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>
net/dsa/slave.c