iommu/core: Check for the right function pointer in iommu_map()
authorJoerg Roedel <jroedel@suse.de>
Mon, 18 Aug 2014 22:19:26 +0000 (00:19 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 18 Aug 2014 22:19:26 +0000 (00:19 +0200)
commit9db4ad9183aad0e9567f6afb23db1bdc9aa6c2a9
treee2a46a08b7a755dc2208998e30faaf1a027cb419
parent9b29d3c6510407d91786c1cf9183ff4debb3473a
iommu/core: Check for the right function pointer in iommu_map()

Check for the ->map and not the ->unmap pointer.

Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/iommu.c