Browse Source

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: Hannes Eder <hannes@hanneseder.net>
Signed-off-by: Joerg Roedel <joerg.roedel@amd.com>
Hannes Eder 16 years ago
parent
commit
ff2c8a4167
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/base/iommu.c

+ 1 - 1
drivers/base/iommu.c

@@ -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;
 }
 }