]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - rpmsg/rpmsg.git/commit
iommu/omap: Fix a typo in the public omap-iommu.h file
authorSuman Anna <s-anna@ti.com>
Mon, 11 Mar 2019 23:18:12 +0000 (18:18 -0500)
committerSuman Anna <s-anna@ti.com>
Tue, 12 Mar 2019 00:02:09 +0000 (19:02 -0500)
commita5585f02e9bd068ee7fb8b460e45b0b98684d60a
tree72eebc0de75666be8b4c5e9c8465376f0f421f36
parentb8ee97c59fb1bfc68e4c4a9ea2eda91dd70ef830
iommu/omap: Fix a typo in the public omap-iommu.h file

The commit b8ee97c59fb1 ("iommu/omap: introduce new API for
runtime suspend/resume control") has introduced two new functions
omap_iommu_domain_deactivate() & omap_iommu_domain_activate(),
and has also added their stubs to allow COMPILE_TEST of consumer
drivers using this header file. The return values in these stubs
used a wrong error value of ENOTSUP instead of ENOTSUPP. Fix this
typo. While at this, include the errno header file that defines
this macro as well to make the omap-iommu.h self-contained.

Fixes: b8ee97c59fb1 ("iommu/omap: introduce new API for runtime suspend/resume control")
Signed-off-by: Suman Anna <s-anna@ti.com>
include/linux/omap-iommu.h