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: 1914821 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 71FF1DF25A for ; Fri, 28 Dec 2012 10:35:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753135Ab2L1Kep (ORCPT ); Fri, 28 Dec 2012 05:34:45 -0500 Received: from mail-da0-f41.google.com ([209.85.210.41]:47389 "EHLO mail-da0-f41.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752979Ab2L1Kep (ORCPT ); Fri, 28 Dec 2012 05:34:45 -0500 Received: by mail-da0-f41.google.com with SMTP id e20so4761477dak.0 for ; Fri, 28 Dec 2012 02:34:44 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=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=ewamSdPbdEy9SAJiYUJmKPdyrXj5tisY4jBSX59IHcJUnG5UtO6bINAKQG3UNgcBJx 4WZFHQ7PdoyNJUIhSEU5l1xIXVKVa0bOgI88oDCQuV8tNTik7XHPk4pMWWwS3ZZCJjjA 2Ng+Khv2DaGKW8stOKKiNeVLFTwKjnwYAgkSG2RI9uZaDdnz0J6yjtBnTnJG5MQbVmFt tR1xxqf+DCTFFH4ReXpf8Zm1xpdfp3MBxiKC9mzeqcf/iGQTzfUaGpG7gXtDjDQWTjAj ScIcNKiKk4+WpPotSlP7uIY7PqbeoR7UKCUpRSGcux8fRWH1HWiHUeovRFNo+E/EpSXf X5lw== 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: ALoCoQmc7cqXuRjWwVxI74bKQhztIgy0mILkKM0tlAwIAuUReudoUKMdd8sIN4Aujhxf966HyIMW Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org 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]; };