iommu: ipmmu-vmsa: Add terminating entry for ipmmu_of_ids
authorAxel Lin <axel.lin@ingics.com>
Tue, 17 Mar 2015 00:06:45 +0000 (08:06 +0800)
committerJoerg Roedel <jroedel@suse.de>
Mon, 23 Mar 2015 14:22:09 +0000 (15:22 +0100)
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>
drivers/iommu/ipmmu-vmsa.c

index 10186ca..bc39bdf 100644 (file)
@@ -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 = {