Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1284930

[PATCH 3/4] cris: fix Kconfig mismatch when building with CONFIG_PCI

From Niklas Cassel <nks@flawful.org>
Newsgroups linux.kernel
Subject [PATCH 3/4] cris: fix Kconfig mismatch when building with CONFIG_PCI
Date 2015-12-06 23:10 +0100
Message-ID <qCPFh-4ke-13@gated-at.bofh.it> (permalink)
References <qCPFg-4ke-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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>
---
 arch/cris/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arch/cris/Kconfig b/arch/cris/Kconfig
index e086f9e..69622ba 100644
--- a/arch/cris/Kconfig
+++ b/arch/cris/Kconfig
@@ -30,7 +30,7 @@ config GENERIC_CALIBRATE_DELAY
 	default y
 
 config NO_IOPORT_MAP
-	def_bool y
+	def_bool y if !PCI
 
 config FORCE_MAX_ZONEORDER
 	int
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH 1/4] cris: add dev88_defconfig Niklas Cassel <nks@flawful.org> - 2015-12-06 23:10 +0100
  [PATCH 4/4] cris: use generic io.h Niklas Cassel <nks@flawful.org> - 2015-12-06 23:10 +0100
  [PATCH 2/4] cris: cardbus: fix header include path Niklas Cassel <nks@flawful.org> - 2015-12-06 23:10 +0100
  [PATCH 3/4] cris: fix Kconfig mismatch when building with CONFIG_PCI Niklas Cassel <nks@flawful.org> - 2015-12-06 23:10 +0100

csiph-web