From patchwork Fri Jul 20 13:56:48 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Lad, Prabhakar" X-Patchwork-Id: 1221171 Return-Path: X-Original-To: patchwork-davinci@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from arroyo.ext.ti.com (arroyo.ext.ti.com [192.94.94.40]) by patchwork2.kernel.org (Postfix) with ESMTP id A602EE0038 for ; Fri, 20 Jul 2012 13:57:14 +0000 (UTC) Received: from dlelxv30.itg.ti.com ([172.17.2.17]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id q6KDvCSJ015584 for ; Fri, 20 Jul 2012 08:57:13 -0500 Received: from DFLE73.ent.ti.com (dfle73.ent.ti.com [128.247.5.110]) by dlelxv30.itg.ti.com (8.13.8/8.13.8) with ESMTP id q6KDvBNC012449 for ; Fri, 20 Jul 2012 08:57:12 -0500 Received: from dlelxv23.itg.ti.com (172.17.1.198) by dfle73.ent.ti.com (128.247.5.110) with Microsoft SMTP Server id 14.1.323.3; Fri, 20 Jul 2012 08:57:11 -0500 Received: from linux.omap.com (dlelxs01.itg.ti.com [157.170.227.31]) by dlelxv23.itg.ti.com (8.13.8/8.13.8) with ESMTP id q6KDvBbd029714 for ; Fri, 20 Jul 2012 08:57:11 -0500 Received: from linux.omap.com (localhost [127.0.0.1]) by linux.omap.com (Postfix) with ESMTP id B955B80632 for ; Fri, 20 Jul 2012 08:57:11 -0500 (CDT) X-Original-To: davinci-linux-open-source@linux.davincidsp.com Delivered-To: davinci-linux-open-source@linux.davincidsp.com Received: from dflp51.itg.ti.com (dflp51.itg.ti.com [128.247.22.94]) by linux.omap.com (Postfix) with ESMTP id 4F5C980626 for ; Fri, 20 Jul 2012 08:57:06 -0500 (CDT) Received: from red.ext.ti.com (red.ext.ti.com [192.94.93.37]) by dflp51.itg.ti.com (8.13.7/8.13.8) with ESMTP id q6KDv6sT004176 for ; Fri, 20 Jul 2012 08:57:06 -0500 (CDT) Received: from psmtp.com (na3sys009amx173.postini.com [74.125.149.99]) by red.ext.ti.com (8.13.7/8.13.7) with SMTP id q6KDv4YY017594 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 20 Jul 2012 08:57:05 -0500 Received: from mail-pb0-f45.google.com ([209.85.160.45]) (using TLSv1) by na3sys009amx173.postini.com ([74.125.148.10]) with SMTP; Fri, 20 Jul 2012 13:57:05 GMT Received: by pbbro12 with SMTP id ro12so6179967pbb.4 for ; Fri, 20 Jul 2012 06:57:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:x-mailer; bh=ftcP85LY9ni/bAg/3DHHv8gVOSfJwTswJQrH85nVMNM=; b=ia9t35vCj8P9MYoRp+2qG84pubXsp+9rnYatVZ6rOFVu62BZ7buglKAeeFnWzwChjI 6dB9z7FkEP2U7xhBvzRwCetpFR40yoGyhctxpnLpleu9bEo7tcCXGn7WmBiOIx0OzADe BL/2YDCwuS38HDQiJCfIaWnLiFn9MHEd2PdG9UGDbWB3ZM85HmFjGav470zgrFPj/T9p ZHXiii8FGCKIyV/dywzgls0cvtbsHCSwDKckIymJ32B+SRZWi2DMosNaiUWWZc+2EDld ywLCkS/GZ+q1pDKI5baGqn62y0ai8CZmSslnaYvy24lrLR/JGLJQ3tlUAYkuCSvr+FSW k4mQ== Received: by 10.68.200.138 with SMTP id js10mr14385914pbc.23.1342792624237; Fri, 20 Jul 2012 06:57:04 -0700 (PDT) Received: from localhost.localdomain ([122.166.13.141]) by mx.google.com with ESMTPS id pt2sm4017229pbb.58.2012.07.20.06.57.00 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 Jul 2012 06:57:03 -0700 (PDT) From: Prabhakar Lad To: LMML Subject: [PATCH RESEND] davinci: vpbe: fix build error when CONFIG_VIDEO_ADV_DEBUG is enabled Date: Fri, 20 Jul 2012 19:26:48 +0530 Message-ID: <1342792608-16263-1-git-send-email-prabhakar.csengg@gmail.com> X-Mailer: git-send-email 1.7.4.1 X-pstn-levels: (S:37.41991/99.90000 CV:99.9000 FC:95.5390 LC:95.5390 R:95.9108 P:95.9108 M:97.0282 C:98.6951 ) X-pstn-dkim: 1 skipped:not-enabled X-pstn-settings: 2 (0.5000:0.0500) s cv GT3 gt2 gt1 r p m c X-pstn-addresses: from [82/3] CC: Hans Verkuil , dlos X-BeenThere: davinci-linux-open-source@linux.davincidsp.com X-Mailman-Version: 2.1.12 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: Errors-To: davinci-linux-open-source-bounces+patchwork-davinci=patchwork.kernel.org@linux.davincidsp.com From: Lad, Prabhakar Fix build error when CONFIG_VIDEO_ADV_DEBUG is enabled, declare the vpbe_dev variable. Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli --- Resending the patch since it didn't reach to the linux-media list. drivers/media/video/davinci/vpbe_display.c | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/drivers/media/video/davinci/vpbe_display.c b/drivers/media/video/davinci/vpbe_display.c index f78ccc0..6fe7034 100644 --- a/drivers/media/video/davinci/vpbe_display.c +++ b/drivers/media/video/davinci/vpbe_display.c @@ -1517,6 +1517,8 @@ static int vpbe_display_g_register(struct file *file, void *priv, struct v4l2_dbg_register *reg) { struct v4l2_dbg_match *match = ®->match; + struct vpbe_fh *fh = file->private_data; + struct vpbe_device *vpbe_dev = fh->disp_dev->vpbe_dev; if (match->type >= 2) { v4l2_subdev_call(vpbe_dev->venc,