linux/include/asm-generic
Randy Dunlap fea80311a9 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
<asm-generic/iomap.h> 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 <rdunlap@xenotime.net>
Cc: Jonas Bonn <jonas@southpole.se>
Cc: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2011-07-25 10:32:42 -07:00
..
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:51 +02:00
2010-10-07 14:08:55 +01:00
2008-05-01 08:03:58 -07:00
2009-06-11 21:02:42 +02:00
2011-03-17 09:19:04 +08:00
2010-10-07 14:08:55 +01:00
2008-08-12 16:07:31 -07:00
2010-10-07 14:08:55 +01:00
2010-06-09 11:12:36 +02:00
2010-01-05 15:34:49 +09:00
2011-01-13 17:32:47 -08:00
2009-06-11 21:02:15 +02:00
2009-09-09 13:29:18 -07:00
2010-09-10 10:56:51 +02:00
2007-05-11 08:29:34 -07:00
2009-06-11 21:02:15 +02:00
2011-03-31 11:26:23 -03:00
2009-06-11 21:02:15 +02:00
2011-03-17 09:19:04 +08:00
2009-06-11 21:02:15 +02:00
2010-08-09 16:48:44 -04:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:15 +02:00
2009-06-11 21:02:42 +02:00
2011-05-20 12:50:29 -07:00