diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2012-09-18 01:33:55 (GMT) |
---|---|---|
committer | Ben Hutchings <bhutchings@solarflare.com> | 2013-08-21 18:43:09 (GMT) |
commit | f073dde03b3e8d11050d82f52caaf75fd924e069 (patch) | |
tree | e274bf18716b262392e05d9351bf4ae5a437d27c /drivers/net/ethernet/sfc/mcdi.h | |
parent | 43f775b2fa759a9c126a911f999f35aeb0fbbb84 (diff) | |
download | linux-f073dde03b3e8d11050d82f52caaf75fd924e069.tar.xz |
sfc: Make efx_mcdi_init() call efx_mcdi_handle_assertion()
This should probably be done during MCDI initialisation for any NIC.
Change efx_mcdi_init() to return an error code.
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Diffstat (limited to 'drivers/net/ethernet/sfc/mcdi.h')
-rw-r--r-- | drivers/net/ethernet/sfc/mcdi.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/sfc/mcdi.h b/drivers/net/ethernet/sfc/mcdi.h index c8f2cd5..6c58dbd 100644 --- a/drivers/net/ethernet/sfc/mcdi.h +++ b/drivers/net/ethernet/sfc/mcdi.h @@ -65,7 +65,7 @@ struct efx_mcdi_mon { unsigned int n_attrs; }; -extern void efx_mcdi_init(struct efx_nic *efx); +extern int efx_mcdi_init(struct efx_nic *efx); extern int efx_mcdi_rpc(struct efx_nic *efx, unsigned cmd, const efx_dword_t *inbuf, size_t inlen, |