kernel/3.10: backport of_pci_get_devfn function from 3.11
authorGabor Juhos <juhosg@openwrt.org>
Fri, 23 Aug 2013 17:07:20 +0000 (17:07 +0000)
committerGabor Juhos <juhosg@openwrt.org>
Fri, 23 Aug 2013 17:07:20 +0000 (17:07 +0000)
commitdea27356f3ea1b8497adb562e23f8690c5ccbb12
treee2fd1be776fc0706d2bb2dafc06e258fdb8577c6
parenta8091e44d8d522db624c17ca06d4af4a4ebc03cd
kernel/3.10: backport of_pci_get_devfn function from 3.11

Fixes the following build error on ramips/rt3883:

  arch/mips/pci/pci-rt3883.c:488:3: error: implicit declaration of function \
  'of_pci_get_devfn' [-Werror=implicit-function-declaration]
  cc1: some warnings being treated as errors

Although the function is only used by the PCI driver
of the RT3883 SoC but at the moment but it might be
useful for other targets as well.

Signed-off-by: Michael Lee <igvtee@gmail.com>
Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
SVN-Revision: 37826
target/linux/generic/patches-3.10/003-of-pci-Add-of_pci_get_devfn-function.patch [new file with mode: 0644]