diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-11-25 11:09:41 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-26 18:59:16 -0500 |
commit | 44838a447de3b1541cbf845853c4f8999310b0dd (patch) | |
tree | 53d5f1b0a6ad773764c7f97eb1d48619e781a67f /drivers/net/sfc/efx.c | |
parent | 734a350a6ccee59647f064fd49cd6cebc5dda48b (diff) |
sfc: Clean up struct falcon_board and struct falcon_board_data
Put all static information in struct falcon_board_type and replace it
with a pointer in struct falcon_board. Simplify probing aocordingly.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/sfc/efx.c')
-rw-r--r-- | drivers/net/sfc/efx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/efx.c b/drivers/net/sfc/efx.c index 9f3ef387a047..dc85efaf15a0 100644 --- a/drivers/net/sfc/efx.c +++ b/drivers/net/sfc/efx.c | |||
@@ -1309,7 +1309,7 @@ static void efx_monitor(struct work_struct *data) | |||
1309 | goto out_requeue; | 1309 | goto out_requeue; |
1310 | if (!efx->port_enabled) | 1310 | if (!efx->port_enabled) |
1311 | goto out_unlock; | 1311 | goto out_unlock; |
1312 | rc = falcon_board(efx)->monitor(efx); | 1312 | rc = falcon_board(efx)->type->monitor(efx); |
1313 | if (rc) { | 1313 | if (rc) { |
1314 | EFX_ERR(efx, "Board sensor %s; shutting down PHY\n", | 1314 | EFX_ERR(efx, "Board sensor %s; shutting down PHY\n", |
1315 | (rc == -ERANGE) ? "reported fault" : "failed"); | 1315 | (rc == -ERANGE) ? "reported fault" : "failed"); |