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)
commitd38001d30d47051eec265d68378abca7f5109e97
treeb920766a648a13aeb06300c242a0dfb35024237c
parent8a39bee15d1d4936f372276650397e252c81071b
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: 57e661aae6a8 ("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