[PATCH] dma: rcar-audmapp: add NULL terminater on audmapp_of_match

From: Kuninori Morimoto
Date: Tue Jul 08 2014 - 20:59:21 EST


From: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>

This patch solve this issue

drivers/dma/sh/rcar-audmapp.c:357:41-42: audmapp_of_match is not NULL terminated at line 357

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@xxxxxxxxxxx>
---
drivers/dma/sh/rcar-audmapp.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/drivers/dma/sh/rcar-audmapp.c b/drivers/dma/sh/rcar-audmapp.c
index 0774c36..dabbf0a 100644
--- a/drivers/dma/sh/rcar-audmapp.c
+++ b/drivers/dma/sh/rcar-audmapp.c
@@ -355,6 +355,7 @@ static int audmapp_remove(struct platform_device *pdev)

static const struct of_device_id audmapp_of_match[] = {
{ .compatible = "renesas,rcar-audmapp", },
+ {},
};

static struct platform_driver audmapp_driver = {
--
1.7.9.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/