]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit - lib/iomap.c
iomap: make IOPORT/PCI mapping functions conditional
authorJonas Bonn <jonas@southpole.se>
Sat, 2 Jul 2011 15:23:29 +0000 (17:23 +0200)
committerJonas Bonn <jonas@southpole.se>
Fri, 22 Jul 2011 16:46:26 +0000 (18:46 +0200)
commit82ed223c264def2b15ee4bec2e8c3048092ceb5f
tree5db30cfb6bb60ce5914128ebe342f08257688aac
parentf1ecc69838a2d7c8a3e1909f637d4083c071777d
iomap: make IOPORT/PCI mapping functions conditional

Use the CONFIG_HAS_IOPORT and CONFIG_PCI options to decide whether or
not functions for mapping these areas are provided.

Signed-off-by: Jonas Bonn <jonas@southpole.se>
Acked-by: Arnd Bergmann <arnd@arndb.de>
include/asm-generic/io.h
include/asm-generic/iomap.h
lib/iomap.c