We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b49087d commit 4adf435Copy full SHA for 4adf435
drivers/net/ethernet/cavium/thunder/nicvf_main.c
@@ -1335,11 +1335,17 @@ static void nicvf_remove(struct pci_dev *pdev)
1335
pci_disable_device(pdev);
1336
}
1337
1338
+static void nicvf_shutdown(struct pci_dev *pdev)
1339
+{
1340
+ nicvf_remove(pdev);
1341
+}
1342
+
1343
static struct pci_driver nicvf_driver = {
1344
.name = DRV_NAME,
1345
.id_table = nicvf_id_table,
1346
.probe = nicvf_probe,
1347
.remove = nicvf_remove,
1348
+ .shutdown = nicvf_shutdown,
1349
};
1350
1351
static int __init nicvf_init_module(void)
0 commit comments