diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-11-25 16:09:41 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-11-26 15:59:16 -0800 |
commit | 44838a447de3b1541cbf845853c4f8999310b0dd (patch) | |
tree | 53d5f1b0a6ad773764c7f97eb1d48619e781a67f /drivers/net/sfc/qt202x_phy.c | |
parent | 734a350a6ccee59647f064fd49cd6cebc5dda48b (diff) | |
download | linux-44838a447de3b1541cbf845853c4f8999310b0dd.tar.bz2 |
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/qt202x_phy.c')
-rw-r--r-- | drivers/net/sfc/qt202x_phy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/sfc/qt202x_phy.c b/drivers/net/sfc/qt202x_phy.c index 8208ac0ffad7..f9c354e9fc3c 100644 --- a/drivers/net/sfc/qt202x_phy.c +++ b/drivers/net/sfc/qt202x_phy.c @@ -126,7 +126,7 @@ static int qt202x_reset_phy(struct efx_nic *efx) if (rc < 0) goto fail; - falcon_board(efx)->init_phy(efx); + falcon_board(efx)->type->init_phy(efx); return rc; |