提交 bcccaa0a 编写于 作者: B Bjorn Helgaas

Merge branch 'remotes/lorenzo/pci/misc'

- Register notifier if core_init_notifier is enabled in pci-epf-test
  (Kunihiko Hayashi)

- Fixup Kconfig indentation (Shunsuke Mie)

* remotes/lorenzo/pci/misc:
  PCI: endpoint: Fix Kconfig indent style
  PCI: pci-epf-test: Register notifier if only core_init_notifier is enabled
...@@ -979,7 +979,7 @@ static int pci_epf_test_bind(struct pci_epf *epf) ...@@ -979,7 +979,7 @@ static int pci_epf_test_bind(struct pci_epf *epf)
if (ret) if (ret)
epf_test->dma_supported = false; epf_test->dma_supported = false;
if (linkup_notifier) { if (linkup_notifier || core_init_notifier) {
epf->nb.notifier_call = pci_epf_test_notifier; epf->nb.notifier_call = pci_epf_test_notifier;
pci_epc_register_notifier(epc, &epf->nb); pci_epc_register_notifier(epc, &epf->nb);
} else { } else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册