]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
powerpc/pci: Add pcibios_disable_device() hook
authorMichael Neuling <mikey@neuling.org>
Wed, 27 May 2015 06:07:00 +0000 (16:07 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Wed, 3 Jun 2015 03:27:16 +0000 (13:27 +1000)
commitabeeed6d3d9948b3235a5bb77759d8c1f84de39d
tree6ebad5a03926155f09f58d7620ffafcd1da2bd06
parent7a8e6bbf8593a9395dd6c61f7c5f421570600017
powerpc/pci: Add pcibios_disable_device() hook

This adds a hook into the powerpc pci code for pci_disable_device() calls.  The
generic code already provides a weak pcibios_disable_device() symbol, so we
just need to provide our own in powerpc and it'll get picked up.

This is passed directly to the phb controller ops, provided one exists.

Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/include/asm/pci-bridge.h
arch/powerpc/kernel/pci-common.c