diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-12-01 01:55:27 (GMT) |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2012-12-01 01:55:27 (GMT) |
commit | ef492f11efed9a6a1686bf914fb74468df59385c (patch) | |
tree | db1edd6d5fffe80709a57a2a995b20c34f4d74ea /drivers/net/ethernet/sfc | |
parent | 778cdaf639e34288c298f1d3d3503d0724ceabc7 (diff) | |
download | linux-fsl-qoriq-ef492f11efed9a6a1686bf914fb74468df59385c.tar.xz |
sfc: Correctly initialise reset_method in siena_test_chip()
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc')
-rw-r--r-- | drivers/net/ethernet/sfc/siena.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/siena.c b/drivers/net/ethernet/sfc/siena.c index 3553d77..ba40f67 100644 --- a/drivers/net/ethernet/sfc/siena.c +++ b/drivers/net/ethernet/sfc/siena.c @@ -170,7 +170,7 @@ static const struct efx_nic_register_test siena_register_tests[] = { static int siena_test_chip(struct efx_nic *efx, struct efx_self_tests *tests) { - enum reset_type reset_method = reset_method; + enum reset_type reset_method = RESET_TYPE_ALL; int rc, rc2; efx_reset_down(efx, reset_method); |