iommu/dma: Cleanup dma-iommu.h
authorChristoph Hellwig <hch@lst.de>
Mon, 20 May 2019 07:29:26 +0000 (09:29 +0200)
committerJoerg Roedel <jroedel@suse.de>
Mon, 27 May 2019 15:31:10 +0000 (17:31 +0200)
commit185da893fab1caa458c47f032a6f53717dbae2eb
tree579dc81b1f505ab62aad1113f4a974c8e5858726
parentcd6c84d8f0cdc911df435bb075ba22ce3c605b07
iommu/dma: Cleanup dma-iommu.h

No need for a __KERNEL__ guard outside uapi and add a missing comment
describing the #else cpp statement.  Last but not least include
<linux/errno.h> instead of the asm version, which is frowned upon.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
include/linux/dma-iommu.h