mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 08:03:00 -04:00
Merge tag 'pci-v6.11-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci
Pull pci fixes from Bjorn Helgaas: - Unregister platform devices for child nodes when stopping a PCI device, even if the PCI core has already cleared the OF_POPULATED bit and of_platform_depopulate() doesn't do anything (Bartosz Golaszewski) - Rescan the bus from a separate thread so we don't deadlock when triggering rescan from sysfs (Bartosz Golaszewski) * tag 'pci-v6.11-fixes-3' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci: PCI/pwrctl: Rescan bus on a separate thread PCI: Don't rely on of_platform_depopulate() for reused OF-nodes
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#define __PCI_PWRCTL_H__
|
||||
|
||||
#include <linux/notifier.h>
|
||||
#include <linux/workqueue.h>
|
||||
|
||||
struct device;
|
||||
struct device_link;
|
||||
@@ -41,8 +42,10 @@ struct pci_pwrctl {
|
||||
/* Private: don't use. */
|
||||
struct notifier_block nb;
|
||||
struct device_link *link;
|
||||
struct work_struct work;
|
||||
};
|
||||
|
||||
void pci_pwrctl_init(struct pci_pwrctl *pwrctl, struct device *dev);
|
||||
int pci_pwrctl_device_set_ready(struct pci_pwrctl *pwrctl);
|
||||
void pci_pwrctl_device_unset_ready(struct pci_pwrctl *pwrctl);
|
||||
int devm_pci_pwrctl_device_set_ready(struct device *dev,
|
||||
|
||||
Reference in New Issue
Block a user