]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/net/ethernet/sfc/siena_sriov.c
sfc: Fix null function pointer in efx_sriov_channel_type
[karo-tx-linux.git] / drivers / net / ethernet / sfc / siena_sriov.c
index a8f48a455849ec26619c392bda0ce504ffabca2b..d49b53dc2a500a2602093a2df63daba5c5ad2538 100644 (file)
@@ -1035,6 +1035,7 @@ efx_sriov_get_channel_name(struct efx_channel *channel, char *buf, size_t len)
 static const struct efx_channel_type efx_sriov_channel_type = {
        .handle_no_channel      = efx_sriov_handle_no_channel,
        .pre_probe              = efx_sriov_probe_channel,
+       .post_remove            = efx_channel_dummy_op_void,
        .get_name               = efx_sriov_get_channel_name,
        /* no copy operation; channel must not be reallocated */
        .keep_eventq            = true,