lkml.org 
[lkml]   [2014]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] dma: rcar-audmapp: add NULL terminater on audmapp_of_match
On Tue, Jul 08, 2014 at 05:59:07PM -0700, Kuninori Morimoto wrote:
> 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>

Thanks, I will add this to the rcar-audmapp-for-v3.17 branch
of the renesas tree, where this problem was added.

> ---
> 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 13:21    [W:0.045 / U:2.404 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site