From patchwork Fri Dec 28 10:20:44 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 13734 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id A26DA23E1F for ; Fri, 28 Dec 2012 10:28:39 +0000 (UTC) Received: from mail-vc0-f175.google.com (mail-vc0-f175.google.com [209.85.220.175]) by fiordland.canonical.com (Postfix) with ESMTP id 6144AA193A4 for ; Fri, 28 Dec 2012 10:28:39 +0000 (UTC) Received: by mail-vc0-f175.google.com with SMTP id fy7so10693138vcb.34 for ; Fri, 28 Dec 2012 02:28:38 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:x-forwarded-to:x-forwarded-for:delivered-to:x-received :received-spf:x-received:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references:x-gm-message-state; bh=QJxz2fXIHgGY/g/8pkkr/zW+c7K0J/a+JTOwvuVY8ro=; b=pHo3ICqOJ8ZIK3QV2B0pP4zemZocqGaVa+wYF+tAUwiHGP+mN59nN0TCd/mTxDJR1B cZa4jEAqI4VE8QtGj0AQzEs4QE8aKMAnBhfx1LFXEacHz9UKlJkETo6WdLCchgSrZHxo OH0ljFJkecQdE6eAkZhajCRrb4Bsdw1qzf5kvY4GMsj2G9+fHgBNb/3QGayMs7mw9p33 dcZF1kkX/IFwJqXCyOp0z+32Frdhe+aGojM2hFvkg6/VSQOglt25BnlBBQQRjlYbS7ps sybq6JpxIWkkuujU5bCas5BGHkQgY2mYnXIffAnlU9Emp03M3bveSWdyguAzNEx5tuqd H87g== X-Received: by 10.58.74.196 with SMTP id w4mr51622009vev.7.1356690518891; Fri, 28 Dec 2012 02:28:38 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.58.214.195 with SMTP id oc3csp53627vec; Fri, 28 Dec 2012 02:28:38 -0800 (PST) X-Received: by 10.66.88.197 with SMTP id bi5mr97454915pab.36.1356690517876; Fri, 28 Dec 2012 02:28:37 -0800 (PST) Received: from mail-da0-f49.google.com (mail-da0-f49.google.com [209.85.210.49]) by mx.google.com with ESMTPS id zs4si31681846pbc.180.2012.12.28.02.28.37 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Dec 2012 02:28:37 -0800 (PST) Received-SPF: neutral (google.com: 209.85.210.49 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.49; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.49 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) smtp.mail=sachin.kamat@linaro.org Received: by mail-da0-f49.google.com with SMTP id v40so4722471dad.8 for ; Fri, 28 Dec 2012 02:28:37 -0800 (PST) X-Received: by 10.66.88.198 with SMTP id bi6mr97630302pab.54.1356690517508; Fri, 28 Dec 2012 02:28:37 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id j1sm20166775pax.10.2012.12.28.02.28.31 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Dec 2012 02:28:36 -0800 (PST) From: Sachin Kamat To: linux-media@vger.kernel.org Cc: andrzej.p@samsung.com, s.nawrocki@samsung.com, sylvester.nawrocki@gmail.com, sachin.kamat@linaro.org, patches@linaro.org Subject: [PATCH 2/2] [media] s5p-fimc: Use spinlock_t instead of 'struct spinlock' Date: Fri, 28 Dec 2012 15:50:44 +0530 Message-Id: <1356690044-8694-2-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1356690044-8694-1-git-send-email-sachin.kamat@linaro.org> References: <1356690044-8694-1-git-send-email-sachin.kamat@linaro.org> X-Gm-Message-State: ALoCoQk+eUI9W/tFmnGY3Nc4Q8JJkA7YylZ7I6prAueuXWY68QhVVezrE6CLB3a6UIDWDAIq/RBA Silences the following checkpatch warning: WARNING: struct spinlock should be spinlock_t Signed-off-by: Sachin Kamat --- drivers/media/platform/s5p-fimc/mipi-csis.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/platform/s5p-fimc/mipi-csis.c b/drivers/media/platform/s5p-fimc/mipi-csis.c index 4c961b1..86c8775 100644 --- a/drivers/media/platform/s5p-fimc/mipi-csis.c +++ b/drivers/media/platform/s5p-fimc/mipi-csis.c @@ -187,7 +187,7 @@ struct csis_state { const struct csis_pix_format *csis_fmt; struct v4l2_mbus_framefmt format; - struct spinlock slock; + spinlock_t slock; struct csis_pktbuf pkt_buf; struct s5pcsis_event events[S5PCSIS_NUM_EVENTS]; };