aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/dsa.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/dsa.h')
-rw-r--r--include/net/dsa.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/dsa.h b/include/net/dsa.h
index 18d1be3ad62d..0f9f6f38f255 100644
--- a/include/net/dsa.h
+++ b/include/net/dsa.h
@@ -212,7 +212,8 @@ struct dsa_switch_driver {
212 /* 212 /*
213 * Probing and setup. 213 * Probing and setup.
214 */ 214 */
215 char *(*probe)(struct device *host_dev, int sw_addr); 215 char *(*probe)(struct device *dsa_dev, struct device *host_dev,
216 int sw_addr);
216 int (*setup)(struct dsa_switch *ds); 217 int (*setup)(struct dsa_switch *ds);
217 int (*set_addr)(struct dsa_switch *ds, u8 *addr); 218 int (*set_addr)(struct dsa_switch *ds, u8 *addr);
218 u32 (*get_phy_flags)(struct dsa_switch *ds, int port); 219 u32 (*get_phy_flags)(struct dsa_switch *ds, int port);