From patchwork Thu Nov 29 20:45:07 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Luis R. Rodriguez" X-Patchwork-Id: 1822581 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 47E7BDF23A for ; Thu, 29 Nov 2012 20:47:36 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754842Ab2K2Uph (ORCPT ); Thu, 29 Nov 2012 15:45:37 -0500 Received: from mail-pa0-f46.google.com ([209.85.220.46]:47897 "EHLO mail-pa0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753975Ab2K2Upe (ORCPT ); Thu, 29 Nov 2012 15:45:34 -0500 Received: by mail-pa0-f46.google.com with SMTP id bh2so7895270pad.19 for ; Thu, 29 Nov 2012 12:45:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:x-mailer:in-reply-to :references; bh=3JjZTTz8El6xmhOYIyfE9/WOdjjUJUQbP9dSVa6vaP0=; b=ZRRoXEg8RhnHxMepswlNaz3Vb3Cq1Vv1OFguw15li+F0555pMM4z5/OUKJmJDEBqZw eHqTpgOkoiFySDc/xqaAm08E8XbFe8+kox8kZ5mnjYhuFvhZY8xiZx/DJjABTixAllkj H8XDiXttjOMbkXRwwqEXNNRk1NfUFWrCt5RHCs195ryHaQ+f3w6r5woMBfuhhCPHOmU8 kKShiIj11B/++3fDGmT9Fo8PfAEQ71lU2ErljQ7kfe+tNRNSKjFcuVkAP+0gD1PrQ7co 7jbXsITsEVSTPt9TP912qZ4RZCSuHmQyo0+AsF5DOzS61qRCpYzwMKd9oKZTCePiPI+s wPlg== Received: by 10.68.235.208 with SMTP id uo16mr70694377pbc.65.1354221933755; Thu, 29 Nov 2012 12:45:33 -0800 (PST) Received: from mcgrof@gmail.com (c-24-7-61-223.hsd1.ca.comcast.net. [24.7.61.223]) by mx.google.com with ESMTPS id ms11sm1735553pbc.74.2012.11.29.12.45.29 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 29 Nov 2012 12:45:32 -0800 (PST) Received: by mcgrof@gmail.com (sSMTP sendmail emulation); Thu, 29 Nov 2012 12:45:28 -0800 From: "Luis R. Rodriguez" To: linux-kernel@vger.kernel.org, tglx@linutronix.de Cc: backports@vger.kernel.org, alexander.stein@systec-electronic.com, brudley@broadcom.com, rvossen@broadcom.com, arend@broadcom.com, frankyl@broadcom.com, kanyan@broadcom.com, linux-wireless@vger.kernel.org, brcm80211-dev-list@broadcom.com, kyungmin.park@samsung.com, s.nawrocki@samsung.com, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org, daniel.vetter@ffwll.ch, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, srinidhi.kasagar@stericsson.com, linus.walleij@linaro.org, "Luis R. Rodriguez" Subject: [PATCH 3/6] s5p-fimc: convert struct spinlock to spinlock_t Date: Thu, 29 Nov 2012 12:45:07 -0800 Message-Id: <1354221910-22493-4-git-send-email-mcgrof@do-not-panic.com> X-Mailer: git-send-email 1.7.10.4 In-Reply-To: <1354221910-22493-1-git-send-email-mcgrof@do-not-panic.com> References: <1354221910-22493-1-git-send-email-mcgrof@do-not-panic.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org From: "Luis R. Rodriguez" spinlock_t should always be used. Could not get this to build with allmodconfig: mcgrof@frijol ~/linux-next (git::(no branch))$ make C=1 M=drivers/media/platform/s5p-fimc/ WARNING: Symbol version dump /home/mcgrof/linux-next/Module.symvers is missing; modules will have no dependencies and modversions. LD drivers/media/platform/s5p-fimc/built-in.o Building modules, stage 2. MODPOST 0 modules Cc: Kyungmin Park Cc: Sylwester Nawrocki Cc: linux-arm-kernel@lists.infradead.org Cc: linux-media@vger.kernel.org Reported-by: Hauke Mehrtens Signed-off-by: Luis R. Rodriguez --- drivers/media/platform/s5p-fimc/mipi-csis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]; };