realtek: fix build for rtl83xx dsa driver
Signed-off-by: Tianling Shen <cnsztl@immortalwrt.org>
This commit is contained in:
parent
b1833122ea
commit
2e57f7145a
@ -145,7 +145,9 @@ const struct rtl83xx_mib_desc rtl83xx_mib[] = {
|
||||
/* 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
|
||||
* structure for each packet is tagged accordingly.
|
||||
|
Loading…
x
Reference in New Issue
Block a user