Re: [PATCH] v4l2-mc.h: fix PM/pipeline stub definitions

From: Mauro Carvalho Chehab
Date: Fri Mar 04 2016 - 05:58:32 EST


Em Fri, 04 Mar 2016 11:13:36 +0100
Arnd Bergmann <arnd@xxxxxxxx> escreveu:

> The newly added functions have an extra semicolon, which
> prevents compilation, and they need to be marked inline:
>
> In file included from ../include/media/tuner.h:23:0,
> from ../drivers/media/tuners/tuner-simple.c:10:
> ../include/media/v4l2-mc.h:233:1: error: expected identifier or '(' before '{' token
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>
> Fixes: a77bf7048add ("v4l2-mc.h: Add stubs for the V4L2 PM/pipeline routines")

Hans sent a fix almost of the same time as yours.

I'm merging your SOB on his patch (with has an additional hunk removing
an uneeded return).

Thanks!
Mauro