diff options
Diffstat (limited to 'drivers/net/sfc/xfp_phy.c')
-rw-r--r-- | drivers/net/sfc/xfp_phy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/sfc/xfp_phy.c b/drivers/net/sfc/xfp_phy.c index f3684ad28887..fd4045b4d9d0 100644 --- a/drivers/net/sfc/xfp_phy.c +++ b/drivers/net/sfc/xfp_phy.c | |||
@@ -40,7 +40,7 @@ void xfp_set_led(struct efx_nic *p, int led, int mode) | |||
40 | } | 40 | } |
41 | 41 | ||
42 | struct xfp_phy_data { | 42 | struct xfp_phy_data { |
43 | int tx_disabled; | 43 | bool tx_disabled; |
44 | }; | 44 | }; |
45 | 45 | ||
46 | #define XFP_MAX_RESET_TIME 500 | 46 | #define XFP_MAX_RESET_TIME 500 |
@@ -151,7 +151,7 @@ static void xfp_phy_reconfigure(struct efx_nic *efx) | |||
151 | static void xfp_phy_fini(struct efx_nic *efx) | 151 | static void xfp_phy_fini(struct efx_nic *efx) |
152 | { | 152 | { |
153 | /* Clobber the LED if it was blinking */ | 153 | /* Clobber the LED if it was blinking */ |
154 | efx->board_info.blink(efx, 0); | 154 | efx->board_info.blink(efx, false); |
155 | 155 | ||
156 | /* Free the context block */ | 156 | /* Free the context block */ |
157 | kfree(efx->phy_data); | 157 | kfree(efx->phy_data); |