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: 13733 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 4C6FE23E1F for ; Fri, 28 Dec 2012 10:28:33 +0000 (UTC) Received: from mail-vb0-f45.google.com (mail-vb0-f45.google.com [209.85.212.45]) by fiordland.canonical.com (Postfix) with ESMTP id 02CD4A193A4 for ; Fri, 28 Dec 2012 10:28:32 +0000 (UTC) Received: by mail-vb0-f45.google.com with SMTP id p1so10551309vbi.4 for ; Fri, 28 Dec 2012 02:28:32 -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 :x-gm-message-state; bh=vsz0o9yyVzW3GxS/xHwO5LzKY2wcUH2AfB1dxf31EZQ=; b=ijwZavMJs0Yy76LGkm8Rwb3/m5oJH9TFGwEzrAvgiL3neH5NI9tXcD97APRke3u76G R7tRF6eFg8PybR1qZGrWGKMnR7qJkEuwPv4IfkvMRGxd8N+u6f1e6LXt8QXARvxgBqEO Sq1rkbarfW9fD4U+LW6pLRxwo5FoSqlEcq5snSkcV2+JOW338zjZQzG/7SZMauZGfBh/ N/AtutywokH8DjchW5BW/MMlKs2qnWoxo5A2Yv9StrpbvK9+hU0Xobp72K/Tk0q7q3PJ rSKC9ryvc43pzKP9jZaFEga0rLt0rkEwhdiLsVpMYBLTsnQhoUa2IYFKDkumA6cLzupD Mqgw== X-Received: by 10.221.0.79 with SMTP id nl15mr50855916vcb.41.1356690512502; Fri, 28 Dec 2012 02:28:32 -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 oc3csp53624vec; Fri, 28 Dec 2012 02:28:31 -0800 (PST) X-Received: by 10.66.81.198 with SMTP id c6mr97691815pay.50.1356690511556; Fri, 28 Dec 2012 02:28:31 -0800 (PST) Received: from mail-da0-f52.google.com (mail-da0-f52.google.com [209.85.210.52]) by mx.google.com with ESMTPS id i7si32105637pay.160.2012.12.28.02.28.31 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 28 Dec 2012 02:28:31 -0800 (PST) Received-SPF: neutral (google.com: 209.85.210.52 is neither permitted nor denied by best guess record for domain of sachin.kamat@linaro.org) client-ip=209.85.210.52; Authentication-Results: mx.google.com; spf=neutral (google.com: 209.85.210.52 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-f52.google.com with SMTP id f10so4727604dak.25 for ; Fri, 28 Dec 2012 02:28:31 -0800 (PST) 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: ALoCoQlZ8LtTN9aVGL2M0NpN9AHFcqMAGTPC1QWCQiVkiBHWrKwTpOIa9X4SzGwx4K5DdYa0u/3h 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;