Hi! > From: Vidya Sagar > > commit 0ef22dcf0c1871888c4c0ee46a9d9c494f2fe997 upstream. > > Add support to send notifications to EPF from EPC once the core > registers initialization is complete. > > +/** > + * pci_epc_init_notify() - Notify the EPF device that EPC device's core > + * initialization is completed. > + * @epc: the EPC device whose core initialization is completeds > + * > + * Invoke to Notify the EPF device that the EPC device's initialization > + * is completed. > + */ > +void pci_epc_init_notify(struct pci_epc *epc) > +{ > + if (!epc || IS_ERR(epc)) > + return; > + > + atomic_notifier_call_chain(&epc->notifier, CORE_INIT, NULL); > +} > +EXPORT_SYMBOL_GPL(pci_epc_init_notify); Is this used somewhere? This adds symbol but noone calls this, and AFAICT it is not used in the rest of the series, either. We can merge it, anyway, I guess, but... explanation would be welcome. Best regards, Pavel -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany