summaryrefslogtreecommitdiff
path: root/Documentation/driver-api/pm
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2018-02-08 15:20:35 +0300
committerBjorn Helgaas <helgaas@kernel.org>2018-02-23 02:04:59 +0300
commit3ecac020d6dd09259414f423b577347ebee9f533 (patch)
treea8df44b4b1d68716fcb3ca4030b10a18d930edfc /Documentation/driver-api/pm
parent7928b2cbe55b2a410a0f5c1f154610059c57b1b2 (diff)
downloadlinux-3ecac020d6dd09259414f423b577347ebee9f533.tar.xz
PCI/AER: Move pci_uevent_ers() out of pci.h
There's no reason pci_uevent_ers() needs to be inline in pci.h, so move it out to a C file. Given it's used by AER the obvious location would be somewhere in drivers/pci/pcie/aer, but because it's also used by powerpc EEH code unfortunately that doesn't work in the case where EEH is enabled but PCIEPORTBUS is not. So for now put it in pci-driver.c, next to pci_uevent(), with an appropriate #ifdef so it's not built if AER and EEH are both disabled. While we're moving it also fix up the kernel doc comment for @pdev to be accurate. Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Signed-off-by: Bjorn Helgaas <helgaas@kernel.org> Reviewed-by: Bryant G. Ly <bryantly@linux.vnet.ibm.com>
Diffstat (limited to 'Documentation/driver-api/pm')
0 files changed, 0 insertions, 0 deletions