Skip to content
Snippets Groups Projects
Commit 2d89ba82 authored by Gabor Juhos's avatar Gabor Juhos
Browse files

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: default avatarMichael Lee <igvtee@gmail.com>
Signed-off-by: default avatarGabor Juhos <juhosg@openwrt.org>

SVN-Revision: 37826
parent 756cfaa1
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment