projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6a805bc
)
rockchip:iommu:fix build error when iommu disabled
author
xxm
<xxm@rock-chips.com>
Wed, 30 Jul 2014 09:28:33 +0000
(17:28 +0800)
committer
xxm
<xxm@rock-chips.com>
Wed, 30 Jul 2014 09:28:33 +0000
(17:28 +0800)
include/linux/rockchip/iovmm.h
patch
|
blob
|
history
diff --git
a/include/linux/rockchip/iovmm.h
b/include/linux/rockchip/iovmm.h
index 48e212d4dadcd0e5cc15a0f34ada279908e3c17c..d67454fb74dae85507ee8154171e7fe06554bd5d 100755
(executable)
--- a/
include/linux/rockchip/iovmm.h
+++ b/
include/linux/rockchip/iovmm.h
@@
-68,7
+68,7
@@
struct device *rockchip_get_sysmmu_device_by_compatible(const char *compt);
#define iovmm_unmap(dev, iova) do { } while (0)
#define iovmm_map_oto(dev, phys, size) (-ENOSYS)
#define iovmm_unmap_oto(dev, phys) do { } while (0)
#define iovmm_unmap(dev, iova) do { } while (0)
#define iovmm_map_oto(dev, phys, size) (-ENOSYS)
#define iovmm_unmap_oto(dev, phys) do { } while (0)
-#define rockchip_get_sysmmu_device_by_compatible(compt)
do { } while (0
)
+#define rockchip_get_sysmmu_device_by_compatible(compt)
(NULL
)
#endif /* CONFIG_ROCKCHIP_IOVMM */
#endif /* CONFIG_ROCKCHIP_IOVMM */