[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CA+V-a8s=gESbkcXa73hqaMt8c5AaR=gWcO+fd-Emo3iwW6-dHg@mail.gmail.com>
Date: Thu, 22 Jan 2015 12:44:10 +0000
From: "Lad, Prabhakar" <prabhakar.csengg@...il.com>
To: Shuah Khan <shuahkh@....samsung.com>
Cc: Mauro Carvalho Chehab <m.chehab@...sung.com>,
Hans Verkuil <hans.verkuil@...co.com>,
Devin Heitmueller <dheitmueller@...nellabs.com>,
Sakari Ailus <sakari.ailus@...ux.intel.com>,
laurent pinchart <laurent.pinchart@...asonboard.com>,
Tim Mester <ttmesterr@...il.com>,
linux-media <linux-media@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH v3 1/3] media: fix au0828 compile error from au0828_boards initialization
Hi Shuah,
Thanks for the patch.
On Tue, Jan 13, 2015 at 2:56 AM, Shuah Khan <shuahkh@....samsung.com> wrote:
> au0828 picked up UNSET from videobuf-core.h and fails to compile
> if videobuf-core.h isn't included. Change it to use -1U instead
> to fix the problem.
>
> drivers/media/usb/au0828/au0828-cards.c:47:17: error: ‘UNSET’ undeclared here (not in a function)
> .tuner_type = UNSET,
>
> Signed-off-by: Shuah Khan <shuahkh@....samsung.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@...il.com>
Regards,
--Prabhakar Lad
> ---
> drivers/media/usb/au0828/au0828-cards.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/media/usb/au0828/au0828-cards.c b/drivers/media/usb/au0828/au0828-cards.c
> index da87f1c..edc2735 100644
> --- a/drivers/media/usb/au0828/au0828-cards.c
> +++ b/drivers/media/usb/au0828/au0828-cards.c
> @@ -44,7 +44,7 @@ static void hvr950q_cs5340_audio(void *priv, int enable)
> struct au0828_board au0828_boards[] = {
> [AU0828_BOARD_UNKNOWN] = {
> .name = "Unknown board",
> - .tuner_type = UNSET,
> + .tuner_type = -1U,
> .tuner_addr = ADDR_UNSET,
> },
> [AU0828_BOARD_HAUPPAUGE_HVR850] = {
> --
> 2.1.0
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists