]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: mv88e6xxx: Provide dummy implementations for trunk setters
authorTobias Waldekranz <tobias@waldekranz.com>
Fri, 15 Jan 2021 12:52:58 +0000 (13:52 +0100)
committerJakub Kicinski <kuba@kernel.org>
Sat, 16 Jan 2021 00:08:51 +0000 (16:08 -0800)
commit28ec1ddb1333c23f9acc876a1e563f13f890eaaf
treeb920766a648a13aeb06300c242a0dfb35024237c
parentfe59bde05cc281d2b54c438f222499e834323214
net: dsa: mv88e6xxx: Provide dummy implementations for trunk setters

Support for Global 2 registers is build-time optional. In the case
where it was not enabled the build would fail as no "dummy"
implementation of these functions was available.

Fixes: bd3682449e9e ("net: dsa: mv88e6xxx: Link aggregation support")
Reported-by: kernel test robot <lkp@intel.com>
Reviewed-by: Vladimir Oltean <olteanv@gmail.com>
Tested-by: Vladimir Oltean <olteanv@gmail.com>
Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/dsa/mv88e6xxx/global2.h