cris: fix Kconfig mismatch when building with CONFIG_PCI
authorNiklas Cassel <nks@flawful.org>
Thu, 22 Sep 2016 14:43:17 +0000 (16:43 +0200)
committerJesper Nilsson <jespern@axis.com>
Thu, 22 Sep 2016 14:43:17 +0000 (16:43 +0200)
commit2765262f7b005a11d6c7abb3c06ea9fdd09712bd
tree36de0081d7d864990eb54c872cd8166e8744f4e0
parentd6094cedecea679447270fcef5db2dfabb08ad65
cris: fix Kconfig mismatch when building with CONFIG_PCI

I/O port access. Normally there is no I/O space on CRIS but when
Cardbus/PCI is enabled the request is passed through the bridge.

lib/pci_iomap.c: In function ‘pci_iomap_range’:
lib/pci_iomap.c:43:3: error: implicit declaration of function ‘ioport_map’ [-Werror=implicit-function-declaration]
   return __pci_ioport_map(dev, start, len);
   ^

Signed-off-by: Niklas Cassel <nks@flawful.org>
Signed-off-by: Jesper Nilsson <jespern@axis.com>
arch/cris/Kconfig