hc
2024-05-10 9999e48639b3cecb08ffb37358bcba3b48161b29
kernel/drivers/pci/endpoint/functions/pci-epf-test.c
....@@ -870,7 +870,7 @@
870870 if (ret)
871871 epf_test->dma_supported = false;
872872
873
- if (linkup_notifier) {
873
+ if (linkup_notifier || core_init_notifier) {
874874 epf->nb.notifier_call = pci_epf_test_notifier;
875875 pci_epc_register_notifier(epc, &epf->nb);
876876 } else {