Commit ff2c8a41 authored by Hannes Eder's avatar Hannes Eder Committed by Joerg Roedel

IOMMU-API: use ANSI style function declaration for 'iommu_found'

Fix this sparse warning:
  drivers/base/iommu.c:34:18: warning: non-ANSI function declaration of function 'iommu_found'
Signed-off-by: default avatarHannes Eder <hannes@hanneseder.net>
Signed-off-by: default avatarJoerg Roedel <joerg.roedel@amd.com>
parent 5f812de6
...@@ -31,7 +31,7 @@ void register_iommu(struct iommu_ops *ops) ...@@ -31,7 +31,7 @@ void register_iommu(struct iommu_ops *ops)
iommu_ops = ops; iommu_ops = ops;
} }
bool iommu_found() bool iommu_found(void)
{ {
return iommu_ops != NULL; return iommu_ops != NULL;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment