diff options
author | Bjorn Helgaas <[email protected]> | 2013-02-08 15:27:01 -0700 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2013-02-15 10:15:19 +1000 |
commit | 93711d8becca550154da3b9e422be77083ab51ad (patch) | |
tree | 7079033dbe17244279fd8c16de0fda428ab300f9 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace | |
parent | db3985e5ca8f50fc17606855ba394783d11683a5 (diff) |
drm/pci: define drm_pcie_get_speed_cap_mask() only when CONFIG_PCI=y
Move drm_pcie_get_speed_cap_mask() under #ifdef CONFIG_PCI because it
it used only for PCI devices (evergreen, r600, r770), and it uses
PCI interfaces that only exist when CONFIG_PCI=y.
Previously, we tried to compile drm_pcie_get_speed_cap_mask() even when
CONFIG_PCI=n, which fails.
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace')
0 files changed, 0 insertions, 0 deletions