]> git.baikalelectronics.ru Git - kernel.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)
commitb2e48300d77a06d694452f710d69941d80359526
tree1094a01ea7b467d6c36c4ed2158a211875632160
parentfedbd783dfdfa040524ea8eb8a31cb2a775a133b
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