Commit Message

From: "Guilherme G. Piccoli" <gpiccoli@canonical.com>
BugLink: https://bugs.launchpad.net/bugs/1797990
This patch exports (and renames) the function find_cap() to be used
in the early PCI quirk code, by the next patch.
This is being moved out from AGP code to generic early-PCI code
since it's not AGP-specific and can be used for any PCI device.
No functional changes intended.
Signed-off-by: Guilherme G. Piccoli <gpiccoli@canonical.com>Signed-off-by: Mauricio Faria de Oliveira <mfo@canonical.com>
---
arch/x86/include/asm/pci-direct.h | 1 +
arch/x86/kernel/aperture_64.c | 30 ++----------------------------
arch/x86/pci/early.c | 25 +++++++++++++++++++++++++
3 files changed, 28 insertions(+), 28 deletions(-)