From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754218Ab1JVFtf (ORCPT ); Sat, 22 Oct 2011 01:49:35 -0400 Received: from mail-iy0-f174.google.com ([209.85.210.174]:42321 "EHLO mail-iy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753105Ab1JVFtc (ORCPT ); Sat, 22 Oct 2011 01:49:32 -0400 From: "Leonid V. Fedorenchik" To: Greg Kroah-Hartman Cc: Mauro Carvalho Chehab , Namhyung Kim , Palash Bandyopadhyay , Joe Perches , Ilia Mirkin , Youquan Song , "Leonid V. Fedorenchik" , devel@linuxdriverproject.org, linux-kernel@vger.kernel.org Subject: [PATCH 31/36] Staging: cx25821: cx25821-video.c: Fix assignment Date: Sat, 22 Oct 2011 13:43:51 +0800 Message-Id: <1319262236-6498-32-git-send-email-leonidsbox@gmail.com> X-Mailer: git-send-email 1.7.0.4 In-Reply-To: <1319262236-6498-1-git-send-email-leonidsbox@gmail.com> References: <1319262236-6498-1-git-send-email-leonidsbox@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Change double assignment in one statement into two assignment statements. Signed-off-by: Leonid V. Fedorenchik --- drivers/staging/cx25821/cx25821-video.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/staging/cx25821/cx25821-video.c b/drivers/staging/cx25821/cx25821-video.c index 268fe19..b07c3a8 100644 --- a/drivers/staging/cx25821/cx25821-video.c +++ b/drivers/staging/cx25821/cx25821-video.c @@ -1622,7 +1622,8 @@ int cx25821_vidioc_cropcap(struct file *file, void *priv, if (cropcap->type != V4L2_BUF_TYPE_VIDEO_CAPTURE) return -EINVAL; - cropcap->bounds.top = cropcap->bounds.left = 0; + cropcap->bounds.top = 0; + cropcap->bounds.left = 0; cropcap->bounds.width = 720; cropcap->bounds.height = dev->tvnorm == V4L2_STD_PAL_BG ? 576 : 480; cropcap->pixelaspect.numerator = -- 1.7.0.4