]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
sif: Let sif_remove implement the shutdown entry point
authorKnut Omang <knut.omang@oracle.com>
Wed, 20 Jul 2016 06:15:24 +0000 (08:15 +0200)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Wed, 27 Jul 2016 17:24:22 +0000 (10:24 -0700)
Due to bugs in the FLR handling on PSIF 2.1, we need to make sure
that the driver gets to do a full unload whenever possible.
Simply let the shutdown entry point be sif_remove similar
to the remove entry point.

Orabug: 24322970

Signed-off-by: Knut Omang <knut.omang@oracle.com>
Reviewed-by: HÃ¥kon Bugge <haakon.bugge@oracle.com>
drivers/infiniband/hw/sif/sif_main.c

index 2c3c7a5d77395d9111bab4c3944771bd97d355f6..3ae36130bcd65c372b00d1224222f8bb8a7043f9 100644 (file)
@@ -67,6 +67,7 @@ static struct pci_driver sif_driver = {
        .id_table = pci_table,
        .probe =        sif_probe,
        .remove =       sif_remove,
+       .shutdown =     sif_remove,
        .sriov_configure = sif_vf_enable,
 };