diff options
Diffstat (limited to 'drivers/net/sfc/ethtool.c')
-rw-r--r-- | drivers/net/sfc/ethtool.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/net/sfc/ethtool.c b/drivers/net/sfc/ethtool.c index 29aa83c2a0d0..506397527633 100644 --- a/drivers/net/sfc/ethtool.c +++ b/drivers/net/sfc/ethtool.c | |||
@@ -174,14 +174,14 @@ static int efx_ethtool_phys_id(struct net_device *net_dev, u32 count) | |||
174 | struct efx_nic *efx = netdev_priv(net_dev); | 174 | struct efx_nic *efx = netdev_priv(net_dev); |
175 | 175 | ||
176 | do { | 176 | do { |
177 | falcon_board(efx)->type->set_id_led(efx, EFX_LED_ON); | 177 | efx->type->set_id_led(efx, EFX_LED_ON); |
178 | schedule_timeout_interruptible(HZ / 2); | 178 | schedule_timeout_interruptible(HZ / 2); |
179 | 179 | ||
180 | falcon_board(efx)->type->set_id_led(efx, EFX_LED_OFF); | 180 | efx->type->set_id_led(efx, EFX_LED_OFF); |
181 | schedule_timeout_interruptible(HZ / 2); | 181 | schedule_timeout_interruptible(HZ / 2); |
182 | } while (!signal_pending(current) && --count != 0); | 182 | } while (!signal_pending(current) && --count != 0); |
183 | 183 | ||
184 | falcon_board(efx)->type->set_id_led(efx, EFX_LED_DEFAULT); | 184 | efx->type->set_id_led(efx, EFX_LED_DEFAULT); |
185 | return 0; | 185 | return 0; |
186 | } | 186 | } |
187 | 187 | ||