mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
ACPI: Pass segment/bus to _PRT add/del so they don't depend on pci_bus
This effectively reverts859a3f86ca("ACPI: simplify acpi_pci_irq_add_prt() API") andd9efae3688("ACPI: simplify acpi_pci_irq_del_prt() API"). The reason is to disentangle these routines from the struct pci_bus. We want to be able to add the _PRT before the struct pci_bus exists, and delete the _PRT after we've removed the pci_bus. Signed-off-by: Bjorn Helgaas <[email protected]> Signed-off-by: Taku Izumi <[email protected]>
This commit is contained in:
parent
f426cef3bc
commit
79c4412298
4 changed files with 18 additions and 18 deletions
|
|
@ -92,8 +92,8 @@ int acpi_pci_link_free_irq(acpi_handle handle);
|
|||
|
||||
/* ACPI PCI Interrupt Routing (pci_irq.c) */
|
||||
|
||||
int acpi_pci_irq_add_prt(acpi_handle handle, struct pci_bus *bus);
|
||||
void acpi_pci_irq_del_prt(struct pci_bus *bus);
|
||||
int acpi_pci_irq_add_prt(acpi_handle handle, int segment, int bus);
|
||||
void acpi_pci_irq_del_prt(int segment, int bus);
|
||||
|
||||
/* ACPI PCI Device Binding (pci_bind.c) */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue