lkml.org 
[lkml]   [2014]   [Jul]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] dma: rcar-audmapp: add NULL terminater on audmapp_of_match
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>

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@renesas.com>
---
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


\
 
 \ /
  Last update: 2014-07-09 03:41    [W:0.057 / U:11.456 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site