realtek: update rtl83xx switch driver to the updated DSA API
[openwrt/staging/pepe2k.git] / target / linux / realtek / files-5.4 / drivers / net / dsa / rtl83xx / dsa.c
index 987b47dc8fc6d525167f4b662bd8194bc124361c..ed71c9ce4461554165185b9e585aeb612bddb5db 100644 (file)
@@ -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.