forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
5f812de63c
commit
ff2c8a4167
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user