From: CMY Date: Mon, 28 Jul 2014 08:28:33 +0000 (+0800) Subject: rk: ion: iommu: fix build error X-Git-Tag: firefly_0821_release~4916^2~141 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=ff0660a172a82842fd155b3bbb6ea1638516afa0;p=firefly-linux-kernel-4.4.55.git rk: ion: iommu: fix build error --- diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c index 556a3e80cdc6..41a537eeea8a 100755 --- 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; } +#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)