mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-22 23:04:43 +00:00
PCI: Move OF-related PCI functions into PCI core
Following what has been done for other subsystems, move the remaining PCI related code out of drivers/of/ and into drivers/pci/of.c With this, we can kill a few kconfig symbols. Signed-off-by: Rob Herring <robh@kernel.org> [bhelgaas: minor whitespace, comment cleanups] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Cc: Frank Rowand <frowand.list@gmail.com>
This commit is contained in:
parent
1291a0d504
commit
4670d610d5
8 changed files with 517 additions and 542 deletions
|
@ -9,7 +9,7 @@ struct pci_dev;
|
|||
struct of_phandle_args;
|
||||
struct device_node;
|
||||
|
||||
#ifdef CONFIG_OF_PCI
|
||||
#if IS_ENABLED(CONFIG_OF) && IS_ENABLED(CONFIG_PCI)
|
||||
int of_irq_parse_pci(const struct pci_dev *pdev, struct of_phandle_args *out_irq);
|
||||
struct device_node *of_pci_find_child_device(struct device_node *parent,
|
||||
unsigned int devfn);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue