Просмотр исходного кода

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 лет назад
Родитель
Сommit
ac04f85a73
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      drivers/iommu/ipmmu-vmsa.c

+ 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[] = {
 	{ .compatible = "renesas,ipmmu-vmsa", },
+	{ }
 };
 
 static struct platform_driver ipmmu_driver = {