diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2017-11-11 02:22:52 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-11-13 04:34:54 +0300 |
commit | 5ed4e3eb021762fee584ce65620bc822131c7aa0 (patch) | |
tree | 5f3ed5e21d4dfaacb13beec852583aa4ab64f268 /drivers/net/dsa/qca8k.c | |
parent | ee9d3429c0e47a57e3e73b638785cafa33773639 (diff) | |
download | linux-5ed4e3eb021762fee584ce65620bc822131c7aa0.tar.xz |
net: dsa: Pass a port to get_tag_protocol()
A number of drivers want to check whether the configured CPU port is a
possible configuration for enabling tagging, pass down the CPU port
number so they verify that.
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/qca8k.c')
-rw-r--r-- | drivers/net/dsa/qca8k.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/qca8k.c b/drivers/net/dsa/qca8k.c index cf72e274275f..9df22ebee822 100644 --- a/drivers/net/dsa/qca8k.c +++ b/drivers/net/dsa/qca8k.c @@ -823,7 +823,7 @@ qca8k_port_fdb_dump(struct dsa_switch *ds, int port, } static enum dsa_tag_protocol -qca8k_get_tag_protocol(struct dsa_switch *ds) +qca8k_get_tag_protocol(struct dsa_switch *ds, int port) { return DSA_TAG_PROTO_QCA; } |