summaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2011-11-24 20:45:20 +0200
committerMichael S. Tsirkin <mst@redhat.com>2011-11-28 21:12:42 +0200
commit66eab4df288aaee75938ae99877c4f759fc6d56c (patch)
tree0b663bfe2d464a55c2a85b27140a53b32f261542 /lib/Makefile
parent4673ca8eb3690832e76371371955a8b02e1f59d4 (diff)
downloadlinux-66eab4df288aaee75938ae99877c4f759fc6d56c.tar.gz
linux-66eab4df288aaee75938ae99877c4f759fc6d56c.tar.bz2
linux-66eab4df288aaee75938ae99877c4f759fc6d56c.zip
lib: add GENERIC_PCI_IOMAP
Many architectures want a generic pci_iomap but not the rest of iomap.c. Split that to a separate .c file and add a new config symbol. select automatically by GENERIC_IOMAP. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index a4da283f5dc0..609b2adc604c 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -33,6 +33,7 @@ endif
lib-$(CONFIG_HOTPLUG) += kobject_uevent.o
obj-$(CONFIG_GENERIC_IOMAP) += iomap.o
+obj-$(CONFIG_GENERIC_PCI_IOMAP) += pci_iomap.o
obj-$(CONFIG_HAS_IOMEM) += iomap_copy.o devres.o
obj-$(CONFIG_CHECK_SIGNATURE) += check_signature.o
obj-$(CONFIG_DEBUG_LOCKING_API_SELFTESTS) += locking-selftest.o