iommu/omap: Fix compilation warnings
authorJoerg Roedel <jroedel@suse.de>
Fri, 9 Aug 2019 16:09:13 +0000 (18:09 +0200)
committerJoerg Roedel <jroedel@suse.de>
Fri, 9 Aug 2019 17:56:05 +0000 (19:56 +0200)
commit73499ad21d595638213f2a5f8b9b58259fa0cae2
treeeee5a72e846565a61015e47fca21cee6f3d4001e
parent1432ebbd60033f48ae24302524f9dca592103804
iommu/omap: Fix compilation warnings

A recent patch introduced a new compiler warning because
two functions with non-void return type have no return
statement in omap-iommu.h for CONFIG_OMAP_IOMMU=n.

Fix this by adding return statements to these functions.

Fixes: d9c4d8a6cc0f8 ('iommu/omap: introduce new API for runtime suspend/resume control')
Signed-off-by: Joerg Roedel <jroedel@suse.de>
include/linux/omap-iommu.h