Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Merge tag 'pci-v6.16-fixes-4' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci

Pull pci fix from Bjorn Helgaas:

- Create pwrctrl devices only when we need them, i.e., when
CONFIG_PCI_PWRCTRL is enabled.

This allows brcmstb to work around a pwrctrl regression by
disabling CONFIG_PCI_PWRCTRL (Manivannan Sadhasivam)

* tag 'pci-v6.16-fixes-4' of git://git.kernel.org/pub/scm/linux/kernel/git/pci/pci:
PCI/pwrctrl: Create pwrctrl devices only when CONFIG_PCI_PWRCTRL is enabled

+7
+7
drivers/pci/probe.c
··· 2508 2508 } 2509 2509 EXPORT_SYMBOL(pci_bus_read_dev_vendor_id); 2510 2510 2511 + #if IS_ENABLED(CONFIG_PCI_PWRCTRL) 2511 2512 static struct platform_device *pci_pwrctrl_create_device(struct pci_bus *bus, int devfn) 2512 2513 { 2513 2514 struct pci_host_bridge *host = pci_find_host_bridge(bus); ··· 2538 2537 2539 2538 return pdev; 2540 2539 } 2540 + #else 2541 + static struct platform_device *pci_pwrctrl_create_device(struct pci_bus *bus, int devfn) 2542 + { 2543 + return NULL; 2544 + } 2545 + #endif 2541 2546 2542 2547 /* 2543 2548 * Read the config data for a PCI device, sanity-check it,