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)
commit1331b3cd5bf20f94aca60a55d995b13e753a186e
treee2fd1be776fc0706d2bb2dafc06e258fdb8577c6
parentb44ba6cd5e7b038bb9c54e7613eb3be88b21a2ab
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>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@37826 3c298f89-4303-0410-b956-a3cf2f4a3e73
target/linux/generic/patches-3.10/003-of-pci-Add-of_pci_get_devfn-function.patch [new file with mode: 0644]