]> 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)
commitb327d204764d72f5da57913d65deedf5f509c0a2
treedeb8e24e0569d3e3d5e320f8fc159a5ca019235a
parentf60ec23bf342535adcb0e958393bedb0fc7ad31b
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