]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit - net/dsa/dsa_priv.h
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)
commit4dad81ee14479c74973ee669612a367b3a675743
treedeb8e24e0569d3e3d5e320f8fc159a5ca019235a
parentc39e2a1d71ade2e59c92280fb2b4daf06b0e240f
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