]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
MN10300: Need pci_iomap() and __pci_ioport_map() defining
authorDavid Howells <dhowells@redhat.com>
Tue, 28 May 2013 19:21:25 +0000 (20:21 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 30 May 2013 04:38:48 +0000 (13:38 +0900)
commit1aeeac7ad484e1bea6fe602880893b3074adb40a
tree770cf5f8a75e5dee1e2bb7ceb159ff066acbd4c7
parentb8bc9b0237873e814266566f84003d73799f170f
MN10300: Need pci_iomap() and __pci_ioport_map() defining

Include the generic definitions of pci_iomap() and __pci_ioport_map()
otherwise we can get errors like:

  lib/pci_iomap.c: In function 'pci_iomap':
  lib/pci_iomap.c:37: error: implicit declaration of function '__pci_ioport_map'
  lib/pci_iomap.c:37: warning: return makes pointer from integer without a cast

and:

  drivers/pci/quirks.c: In function 'disable_igfx_irq':
  drivers/pci/quirks.c:2893: error: implicit declaration of function 'pci_iomap'
  drivers/pci/quirks.c:2893: warning: initialization makes pointer from integer without a cast
  drivers/pci/quirks.c: In function 'reset_ivb_igd':
  drivers/pci/quirks.c:3133: warning: assignment makes pointer from integer without a cast

Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: Ken Cox <jkc@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/mn10300/include/asm/pci.h