Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
}