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:
5505536
)
rk: ion: iommu: fix build error
author
CMY
<cmy@rock-chips.com>
Mon, 28 Jul 2014 08:26:04 +0000
(16:26 +0800)
committer
CMY
<cmy@rock-chips.com>
Mon, 28 Jul 2014 08:26:04 +0000
(16:26 +0800)
drivers/staging/android/ion/ion.c
patch
|
blob
|
history
diff --git
a/drivers/staging/android/ion/ion.c
b/drivers/staging/android/ion/ion.c
index 556a3e80cdc606ce0cb508d4897d25a96ed213f2..c26e3cee6dd41c8b5d7220558cf9766d9a3a996f 100755
(executable)
--- a/
drivers/staging/android/ion/ion.c
+++ b/
drivers/staging/android/ion/ion.c
@@
-928,6
+928,16
@@
static int ion_debug_client_show_buffer_map(struct seq_file *s, struct ion_buffe
return 0;
}
return 0;
}
+#else
+int ion_map_iommu(struct device *iommu_dev, struct ion_client *client,
+ struct ion_handle *handle, unsigned long *iova, unsigned long *size)
+{
+ return 0;
+}
+void ion_unmap_iommu(struct device *iommu_dev, struct ion_client *client,
+ struct ion_handle *handle)
+{
+}
#endif
static int ion_debug_client_show_buffer(struct seq_file *s, void *unused)
#endif
static int ion_debug_client_show_buffer(struct seq_file *s, void *unused)