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:
5f812de
)
IOMMU-API: use ANSI style function declaration for 'iommu_found'
author
Hannes Eder
<hannes@hanneseder.net>
Thu, 5 Mar 2009 11:12:44 +0000
(12:12 +0100)
committer
Joerg Roedel
<joerg.roedel@amd.com>
Thu, 5 Mar 2009 11:12:44 +0000
(12:12 +0100)
Fix this sparse warning:
drivers/base/iommu.c:34:18: warning: non-ANSI function declaration of function 'iommu_found'
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
drivers/base/iommu.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/base/iommu.c
b/drivers/base/iommu.c
index 5e039d4f877c206e26052bde2e2e5e7564f86d35..c2d1eed903767484304b1f3208c27719b5ec3195 100644
(file)
--- a/
drivers/base/iommu.c
+++ b/
drivers/base/iommu.c
@@
-31,7
+31,7
@@
void register_iommu(struct iommu_ops *ops)
iommu_ops = ops;
}
-bool iommu_found()
+bool iommu_found(
void
)
{
return iommu_ops != NULL;
}