]> git.baikalelectronics.ru Git - kernel.git/commitdiff
Merge branch 'fix-circular-dependency-between-sja1105-and-tag_sja1105'
authorJakub Kicinski <kuba@kernel.org>
Wed, 13 Oct 2021 00:33:39 +0000 (17:33 -0700)
committerJakub Kicinski <kuba@kernel.org>
Wed, 13 Oct 2021 00:33:59 +0000 (17:33 -0700)
Vladimir Oltean says:

====================
Fix circular dependency between sja1105 and tag_sja1105

As discussed here:
https://lore.kernel.org/netdev/20210908220834.d7gmtnwrorhharna@skbuf/
DSA tagging protocols cannot use symbols exported by switch drivers.

Eliminate the two instances of that from tag_sja1105, and that allows us
to have a working setup with modules again.
====================

Re-applying to net, this was mistakenly applied to net-next,
see first Link.

Link: https://lore.kernel.org/r/20211012114044.2526146-1-vladimir.oltean@nxp.com/
Link: https://lore.kernel.org/r/20210922143726.2431036-1-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

Trivial merge