net: dsa: use switchdev obj in port_fdb_del
[firefly-linux-kernel-4.4.55.git] / include / net / dsa.h
index ce8f9b748a77c7e16ab35dc8ba4b6f38c3661f5d..e00588625bc298874fd7011026e7dcf6ab60e3c0 100644 (file)
@@ -326,7 +326,7 @@ struct dsa_switch_driver {
                                const struct switchdev_obj_port_fdb *fdb,
                                struct switchdev_trans *trans);
        int     (*port_fdb_del)(struct dsa_switch *ds, int port,
-                               const unsigned char *addr, u16 vid);
+                               const struct switchdev_obj_port_fdb *fdb);
        int     (*port_fdb_getnext)(struct dsa_switch *ds, int port,
                                    unsigned char *addr, u16 *vid,
                                    bool *is_static);