]> git.openfabrics.org - ~emulex/tmp/compat/.git/commit
compat: backport pci_is_pcie and pci_pcie_cap
authorHauke Mehrtens <hauke@hauke-m.de>
Fri, 17 Dec 2010 22:41:38 +0000 (14:41 -0800)
committerLuis R. Rodriguez <lrodriguez@atheros.com>
Sat, 18 Dec 2010 20:07:00 +0000 (12:07 -0800)
commit64bcd1b74a292b6baadb5a9f7c63eac8bf45ea5d
tree185ee415288588e9682177a5f5d5a18d099e103c
parent218ef1807396652f1d78aa3b74ca3d3197c59258
compat: backport pci_is_pcie and pci_pcie_cap

compat_is_pcie already did the same thing as pci_is_pcie, but this
method is now in kernel so the mainline drivers should use this
function instead of accessing the  member in the struct directly. We
backported this function for older kernels.
pci_pcie_cap is used in rtlwifi so we also need this.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
compat/compat-2.6.24.c
include/linux/compat-2.6.24.h
include/linux/compat-2.6.33.h