hc
2024-01-03 2f7c68cb55ecb7331f2381deb497c27155f32faf
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 {