diff options
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | 2017-05-17 15:46:05 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-05-18 10:40:12 -0400 |
commit | 438ff53739ee523de3755a98ae3a290e69752620 (patch) | |
tree | eaf95281e38691f1a14dcdab49c50cf4d73ab339 /drivers/net/dsa/dsa_loop.c | |
parent | f0c24ccf491b09de53cee32114c924551218f2bc (diff) |
net: dsa: use switchdev_obj_dump_cb_t everywhere
Now that the DSA public header includes switchdev.h, use the provided
switchdev_obj_dump_cb_t typedef for the object dump callback.
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/dsa_loop.c')
-rw-r--r-- | drivers/net/dsa/dsa_loop.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/dsa_loop.c b/drivers/net/dsa/dsa_loop.c index 6afab16d13dd..5edf07beb9d2 100644 --- a/drivers/net/dsa/dsa_loop.c +++ b/drivers/net/dsa/dsa_loop.c | |||
@@ -187,7 +187,7 @@ static int dsa_loop_port_vlan_del(struct dsa_switch *ds, int port, | |||
187 | 187 | ||
188 | static int dsa_loop_port_vlan_dump(struct dsa_switch *ds, int port, | 188 | static int dsa_loop_port_vlan_dump(struct dsa_switch *ds, int port, |
189 | struct switchdev_obj_port_vlan *vlan, | 189 | struct switchdev_obj_port_vlan *vlan, |
190 | int (*cb)(struct switchdev_obj *obj)) | 190 | switchdev_obj_dump_cb_t *cb) |
191 | { | 191 | { |
192 | struct dsa_loop_priv *ps = ds->priv; | 192 | struct dsa_loop_priv *ps = ds->priv; |
193 | struct mii_bus *bus = ps->bus; | 193 | struct mii_bus *bus = ps->bus; |