Commit 92cde9fc authored by Guilherme G. Piccoli's avatar Guilherme G. Piccoli Committed by Zheng Zengkai
Browse files

x86/PCI: Export find_cap() to be used in early PCI code

maillist inclusion
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8X2RA
CVE: NA

Reference: https://lore.kernel.org/linux-pci/20181018183721.27467-2-gpiccoli@canonical.com/



-------------------------------

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: default avatarGuilherme G. Piccoli <gpiccoli@canonical.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent 26f718c6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment