]> 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)
commit3bc7ed8d944a3658c3dc43a35be51cb7eee6ab39
treeb920766a648a13aeb06300c242a0dfb35024237c
parentd48f9469357282fd327caf7c5447ddddad2b02ea
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: 282e7a691896 ("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