]> git.karo-electronics.de Git - linux-beck.git/commit
PCI: Add devm_request_pci_bus_resources()
authorBjorn Helgaas <bhelgaas@google.com>
Sat, 28 May 2016 23:09:16 +0000 (18:09 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 6 Jun 2016 20:25:51 +0000 (15:25 -0500)
commit950334bcf17a6ab55ce13d3bdf050f7b429320d5
tree2c218cbf95f3ef9c6b4015cd8bea17fb02491b15
parent1a695a905c18548062509178b98bc91e67510864
PCI: Add devm_request_pci_bus_resources()

Several host bridge drivers iterate through the list of bridge windows to
request resources.  Several others don't request the window resources at
all.

Add a devm_request_pci_bus_resources() interface to make it easier for
drivers to request all the window resources.  Export to GPL modules (from
Arnd Bergmann <arnd@arndb.de>).

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/bus.c
include/linux/pci.h