aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/base
diff options
context:
space:
mode:
authorHannes Eder <hannes@hanneseder.net>2009-03-05 12:12:44 +0100
committerJoerg Roedel <joerg.roedel@amd.com>2009-03-05 12:12:44 +0100
commitff2c8a4167eb143c5e2a03148fa996978938e8d7 (patch)
tree2d828a210870cf4befff4e93ee24a210fdfcfe60 /drivers/base
parent5f812de63ce515265ebd84e932c762136924ab84 (diff)
downloadkernel_samsung_tuna-ff2c8a4167eb143c5e2a03148fa996978938e8d7.zip
kernel_samsung_tuna-ff2c8a4167eb143c5e2a03148fa996978938e8d7.tar.gz
kernel_samsung_tuna-ff2c8a4167eb143c5e2a03148fa996978938e8d7.tar.bz2
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>
Diffstat (limited to 'drivers/base')
-rw-r--r--drivers/base/iommu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/iommu.c b/drivers/base/iommu.c
index 5e039d4..c2d1eed 100644
--- 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;
}