diff options
author | Andrew Lunn <andrew@lunn.ch> | 2019-04-28 20:37:22 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-04-29 02:41:01 +0300 |
commit | 3aa475e197f44ae401502b61aa341d3e40aa045a (patch) | |
tree | 603ee23156f21fe7366172aa6b3d766b8ba96ea1 /net/dsa/Makefile | |
parent | f81a43e8da07ccd91c4d923a44ffffaeee39dcc8 (diff) | |
download | linux-3aa475e197f44ae401502b61aa341d3e40aa045a.tar.xz |
dsa: tag_brcm: Avoid unused symbols
It is possible that the driver is compiled with both
CONFIG_NET_DSA_TAG_BRCM and CONFIG_NET_DSA_TAG_BRCM_PREPEND disabled.
This results in warnings about unused symbols. Add some conditional
compilation to avoid this.
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
v2
Reorder patch to before tag drivers can be modules
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dsa/Makefile')
0 files changed, 0 insertions, 0 deletions