From patchwork Fri Dec 28 10:20:43 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sachin Kamat X-Patchwork-Id: 1914771 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id 280C940061 for ; Fri, 28 Dec 2012 10:28:33 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752959Ab2L1K2b (ORCPT ); Fri, 28 Dec 2012 05:28:31 -0500 Received: from mail-da0-f49.google.com ([209.85.210.49]:49410 "EHLO mail-da0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752111Ab2L1K2b (ORCPT ); Fri, 28 Dec 2012 05:28:31 -0500 Received: by mail-da0-f49.google.com with SMTP id v40so4722438dad.8 for ; Fri, 28 Dec 2012 02:28:30 -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 :x-gm-message-state; bh=vsz0o9yyVzW3GxS/xHwO5LzKY2wcUH2AfB1dxf31EZQ=; b=gvChClrHTqWfc1+Mgq1uz4LE6AHMBi/ZLhuwrb14WizNKD35CzaEHffUeqkbsaldZ4 P8SZgz/Kl/LVL3u3j8bLY/wxfV033kFAWJgZiEenNaspgSmbIA+h4G1gAwmlo4/EessB PpJjEeSXuAFoju3Nce86BpNRlec7vHi8Jt4/S86ftsDX+Z+I4R+VsO1vylNcw1z+7DAO 25IMOr2HyDQ4i2LzKK4ZZ2SiI8V1YqQz5LYFcSXmw7BY+mTwRjBbYd0i0lEJIAdxnPCH ApXoz32RdJ0iMg+v136B7hQ0ADIfCKFBHcgSb8BcM6QzYMCPRty9NnkIwNHUTiT7Xfkv EC0w== X-Received: by 10.68.125.195 with SMTP id ms3mr102657483pbb.149.1356690510773; Fri, 28 Dec 2012 02:28:30 -0800 (PST) Received: from localhost.localdomain ([115.113.119.130]) by mx.google.com with ESMTPS id j1sm20166775pax.10.2012.12.28.02.28.27 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Dec 2012 02:28:30 -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 1/2] [media] s5p-jpeg: Use spinlock_t instead of 'struct spinlock' Date: Fri, 28 Dec 2012 15:50:43 +0530 Message-Id: <1356690044-8694-1-git-send-email-sachin.kamat@linaro.org> X-Mailer: git-send-email 1.7.4.1 X-Gm-Message-State: ALoCoQm6XmnZoWvxgi+ude/XsVak84axDrtz+lEpsM31sD7A/l1aqtQLNfrB+dgSbuZ6uARN89aS 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-jpeg/jpeg-core.h | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.h b/drivers/media/platform/s5p-jpeg/jpeg-core.h index 022b9b9..8a4013e 100644 --- a/drivers/media/platform/s5p-jpeg/jpeg-core.h +++ b/drivers/media/platform/s5p-jpeg/jpeg-core.h @@ -62,7 +62,7 @@ */ struct s5p_jpeg { struct mutex lock; - struct spinlock slock; + spinlock_t slock; struct v4l2_device v4l2_dev; struct video_device *vfd_encoder;