realtek: fix build for rtl83xx dsa driver

Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
Tianling Shen 2022-12-29 16:07:05 +08:00
parent b1833122ea
commit 2e57f7145a
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -145,7 +145,9 @@ const struct rtl83xx_mib_desc rtl83xx_mib[] = {
/* DSA callbacks */ /* DSA callbacks */
static enum dsa_tag_protocol rtl83xx_get_tag_protocol(struct dsa_switch *ds, int port) static enum dsa_tag_protocol rtl83xx_get_tag_protocol(struct dsa_switch *ds,
int port,
enum dsa_tag_protocol mprot)
{ {
/* The switch does not tag the frames, instead internally the header /* The switch does not tag the frames, instead internally the header
* structure for each packet is tagged accordingly. * structure for each packet is tagged accordingly.