aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSuman Anna <s-anna@ti.com>2011-10-11 12:55:29 -0500
committerSuman Anna <s-anna@ti.com>2011-10-19 15:35:11 -0500
commit48bfdd4113da98b95a1683259abc8b10c34ae1b8 (patch)
tree689a2b5b04d3ed65625311fa81a0f0d323bc8727
parentf35725c584f151aacceffa5f2b448a0c0386dd4d (diff)
downloadkernel_samsung_tuna-48bfdd4113da98b95a1683259abc8b10c34ae1b8.zip
kernel_samsung_tuna-48bfdd4113da98b95a1683259abc8b10c34ae1b8.tar.gz
kernel_samsung_tuna-48bfdd4113da98b95a1683259abc8b10c34ae1b8.tar.bz2
omap: iommu: fix non-void return value in function returning void
Fix the following compiler warning introduced in the patch: ecabdc3 - omap: iommu: do not allow core to lower state while in use arch/arm/plat-omap/iommu.c: In function 'iommu_put': arch/arm/plat-omap/iommu.c:906: warning: 'return' with a value, in function returning void Change-Id: Ia62ad7646524dac1c9edc4fbfa8e0b41dfb1bb11 Signed-off-by: Suman Anna <s-anna@ti.com>
-rw-r--r--arch/arm/plat-omap/iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-omap/iommu.c b/arch/arm/plat-omap/iommu.c
index 7f52a30..632fbe2 100644
--- a/arch/arm/plat-omap/iommu.c
+++ b/arch/arm/plat-omap/iommu.c
@@ -903,7 +903,7 @@ void iommu_put(struct iommu *obj)
if (!obj->refcount) {
dev_err(obj->dev, "%s: %s unbalanced iommu_get/put\n",
__func__, obj->name);
- return -EIO;
+ return;
}
if (--obj->refcount == 0) {