• David Howells's avatar
    MN10300: Need pci_iomap() and __pci_ioport_map() defining · 1aeeac7a
    David Howells authored
    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: default avatarDavid Howells <dhowells@redhat.com>
    Acked-by: default avatarKen Cox <jkc@redhat.com>
    Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
    1aeeac7a
pci.h 2.79 KB