]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
IOMMU-API: use ANSI style function declaration for 'iommu_found'
authorHannes Eder <hannes@hanneseder.net>
Thu, 5 Mar 2009 11:12:44 +0000 (12:12 +0100)
committerJoerg 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

index 5e039d4f877c206e26052bde2e2e5e7564f86d35..c2d1eed903767484304b1f3208c27719b5ec3195 100644 (file)
@@ -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;
 }