]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
PCI: Add helper functions pci_get[put]_host_bridge_device()
authorMurali Karicheri <m-karicheri2@ti.com>
Tue, 3 Mar 2015 17:52:11 +0000 (12:52 -0500)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 3 Mar 2015 20:42:57 +0000 (14:42 -0600)
commit6675a601d72be408025e675599702e30a99188aa
tree3eeb9457aba240725c97f1aff5eb944b9ef1a8c2
parent0c79c81c779fe54e67c0ce8c1fda551ca57d8a35
PCI: Add helper functions pci_get[put]_host_bridge_device()

Add helper functions to get/put the root bus's host bridge device.

Tested-by: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com> (AMD Seattle)
Signed-off-by: Murali Karicheri <m-karicheri2@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Catalin Marinas <catalin.marinas@arm.com>
Acked-by: Will Deacon <will.deacon@arm.com>
CC: Joerg Roedel <joro@8bytes.org>
CC: Grant Likely <grant.likely@linaro.org>
CC: Rob Herring <robh+dt@kernel.org>
CC: Russell King <linux@arm.linux.org.uk>
CC: Arnd Bergmann <arnd@arndb.de>
drivers/pci/host-bridge.c
include/linux/pci.h