Skip to content
Snippets Groups Projects
Commit ff2c8a41 authored by Hannes Eder's avatar Hannes Eder Committed by Joerg Roedel
Browse files

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
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment