kernel/3.10: backport of_pci_get_devfn function from 3.11
authorjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 23 Aug 2013 17:07:20 +0000 (17:07 +0000)
committerjuhosg <juhosg@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 23 Aug 2013 17:07:20 +0000 (17:07 +0000)
commit259916b81927e38f83012e482a9a782874a12d3a
treee2fd1be776fc0706d2bb2dafc06e258fdb8577c6
parent3f22cca524565bb3929eec8bb267c493fdb061c7
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]