]> git.baikalelectronics.ru Git - kernel.git/commit
dsa: Add stub tag driver put method
authorAndrew Lunn <andrew@lunn.ch>
Sun, 28 Apr 2019 17:37:19 +0000 (19:37 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sun, 28 Apr 2019 23:41:01 +0000 (19:41 -0400)
commit33c7de2f058c320abf4f8643c6564a3231e868a7
treedeb8e24e0569d3e3d5e320f8fc159a5ca019235a
parenteb0b2bc7f3f46b118236d6274c6806cf9fc26fbc
dsa: Add stub tag driver put method

When a DSA switch driver is unloaded, the lock on the tag driver
should be released so the module can be unloaded. Add the needed calls,
but leave the actual release code as a stub.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
v2

Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa.c
net/dsa/dsa2.c
net/dsa/dsa_priv.h
net/dsa/legacy.c