aboutsummaryrefslogtreecommitdiffstats
path: root/net/dsa/tag_ksz.c
diff options
context:
space:
mode:
authorAndrew Lunn <andrew@lunn.ch>2019-04-28 19:37:20 +0200
committerDavid S. Miller <davem@davemloft.net>2019-04-28 19:41:01 -0400
commit3675617531443a503f674e71e70248b9c5a205cd (patch)
treec58c401dc42ec49b59a5321a76509eba5831a2ca /net/dsa/tag_ksz.c
parentdsa: Add stub tag driver put method (diff)
downloadlinux-dev-3675617531443a503f674e71e70248b9c5a205cd.tar.xz
linux-dev-3675617531443a503f674e71e70248b9c5a205cd.zip
dsa: Make use of the list of tag drivers
Implement the _get and _put functions to make use of the list of tag drivers. Also, trigger the loading of the module, based on the alias information. The _get function takes a reference on the tag driver, so it cannot be unloaded, and the _put function releases the reference. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> v2: Make tag_driver_register void Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/tag_ksz.c')
0 files changed, 0 insertions, 0 deletions