]> asedeno.scripts.mit.edu Git - linux.git/commit
PCI: Make pci_get_new_domain_nr() static
authorJan Kiszka <jan.kiszka@siemens.com>
Tue, 15 May 2018 09:07:00 +0000 (11:07 +0200)
committerBjorn Helgaas <helgaas@kernel.org>
Tue, 15 May 2018 18:35:37 +0000 (13:35 -0500)
commitae07b786888f1872ac2b63d74a17e206d441ec9f
tree1094a01ea7b467d6c36c4ed2158a211875632160
parent60cc43fc888428bb2f18f08997432d426a243338
PCI: Make pci_get_new_domain_nr() static

The only user of pci_get_new_domain_nr() is of_pci_bus_find_domain_nr().
Since they are defined in the same file, pci_get_new_domain_nr() can be
made static, which also simplifies preprocessor conditionals.

No functional change intended.

Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
drivers/pci/pci.c
include/linux/pci.h