diff options
Diffstat (limited to 'drivers/net/dsa/mv88e6123_61_65.c')
-rw-r--r-- | drivers/net/dsa/mv88e6123_61_65.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dsa/mv88e6123_61_65.c b/drivers/net/dsa/mv88e6123_61_65.c index 41ee5b6ae917..69c42513dd72 100644 --- a/drivers/net/dsa/mv88e6123_61_65.c +++ b/drivers/net/dsa/mv88e6123_61_65.c | |||
@@ -289,7 +289,7 @@ static int mv88e6123_61_65_setup_port(struct dsa_switch *ds, int p) | |||
289 | 289 | ||
290 | static int mv88e6123_61_65_setup(struct dsa_switch *ds) | 290 | static int mv88e6123_61_65_setup(struct dsa_switch *ds) |
291 | { | 291 | { |
292 | struct mv88e6xxx_priv_state *ps = (void *)(ds + 1); | 292 | struct mv88e6xxx_priv_state *ps = ds_to_priv(ds); |
293 | int i; | 293 | int i; |
294 | int ret; | 294 | int ret; |
295 | 295 | ||