From: Randy Dunlap Date: Sun, 24 Jul 2011 18:39:14 +0000 (-0700) Subject: iomap: make IOPORT/PCI mapping functions conditional X-Git-Tag: v3.1-rc1~253 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fea80311a939a746533a6d7e7c3183729d6a3faf;p=pandora-kernel.git iomap: make IOPORT/PCI mapping functions conditional When CONFIG_PCI is not enabled, CONFIG_EISA=y, and CONFIG_GENERIC_IOMAP=y, drivers/net/3c59x.c build fails due to a recent small change to that surrounds pci_iomap() and pci_iounmap() with #ifdef CONFIG_PCI/#endif. Since that patch to iomap.h looks correct, add stubs for pci_iomap() and pci_iounmap() with CONFIG_PCI is not enabled to fix the build errors. drivers/net/3c59x.c:1026: error: implicit declaration of function 'pci_iomap' drivers/net/3c59x.c:1038: error: implicit declaration of function 'pci_iounmap' Signed-off-by: Randy Dunlap Cc: Jonas Bonn Cc: Arnd Bergmann Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed