Эх сурвалжийг харах

iommu: ipmmu-vmsa: Add terminating entry for ipmmu_of_ids

The of_device_id table is supposed to be zero-terminated.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Joerg Roedel <jroedel@suse.de>
Axel Lin 10 жил өмнө
parent
commit
ac04f85a73

+ 1 - 0
drivers/iommu/ipmmu-vmsa.c

@@ -851,6 +851,7 @@ static int ipmmu_remove(struct platform_device *pdev)
 
 
 static const struct of_device_id ipmmu_of_ids[] = {
 static const struct of_device_id ipmmu_of_ids[] = {
 	{ .compatible = "renesas,ipmmu-vmsa", },
 	{ .compatible = "renesas,ipmmu-vmsa", },
+	{ }
 };
 };
 
 
 static struct platform_driver ipmmu_driver = {
 static struct platform_driver ipmmu_driver = {