Skip to content
Commit 3aa475e1 authored by Andrew Lunn's avatar Andrew Lunn Committed by David S. Miller
Browse files

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: default avatarAndrew Lunn <andrew@lunn.ch>
Reviewed-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>

v2
Reorder patch to before tag drivers can be modules

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f81a43e8
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment