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)
commit2d89ba8210f23a4091cf1696ca51dd53c2e6df8c
tree52eda3b07966857cf55ea2e0b578ca88715aae06
parent756cfaa10278c7ce71ff53b7db12f78571bcda0c
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]