projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2c53b43
)
iommu-api: Add missing header file
author
Laura Abbott
<lauraa@codeaurora.org>
Wed, 8 Jun 2011 21:29:11 +0000
(17:29 -0400)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Tue, 14 Jun 2011 09:30:22 +0000
(11:30 +0200)
If CONFIG_IOMMU_API is not defined some functions will just
return -ENODEV. Add errno.h for the definition of ENODEV.
Signed-off-by: Laura Abbott <lauraa@codeaurora.org>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
include/linux/iommu.h
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/iommu.h
b/include/linux/iommu.h
index 0a2ba4098996de9ef07ed8cdf11bd11b90901548..9940319d6f9d3ab0d1442a5fa31a7db9be6dafa3 100644
(file)
--- a/
include/linux/iommu.h
+++ b/
include/linux/iommu.h
@@
-19,6
+19,8
@@
#ifndef __LINUX_IOMMU_H
#define __LINUX_IOMMU_H
+#include <linux/errno.h>
+
#define IOMMU_READ (1)
#define IOMMU_WRITE (2)
#define IOMMU_CACHE (4) /* DMA cache coherency */