From patchwork Thu Nov 29 20:45:10 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: 1822491 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 965C53FC5A for ; Thu, 29 Nov 2012 20:46:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754713Ab2K2Upy (ORCPT ); Thu, 29 Nov 2012 15:45:54 -0500 Received: from mail-da0-f46.google.com ([209.85.210.46]:63515 "EHLO mail-da0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754985Ab2K2Upu (ORCPT ); Thu, 29 Nov 2012 15:45:50 -0500 Received: by mail-da0-f46.google.com with SMTP id p5so5423038dak.19 for ; Thu, 29 Nov 2012 12:45:50 -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=EwTgfjnvyD/f8HaIEjaGMppL5q6k/lHCri5IB9T5rcU=; b=v4U9rIZFvmeYZmJdkKaCX4ZV4sSCLyk3voU5HAnbRNa2AmfCY481Oh1Mzbndy2jWSQ BRzs86cVZzOGyo3Cw56VNz6Xh8Iba4ZZ8pPe3bc8PiPpasflPS/jGXM590habq9XmgU0 v6BVGoE7PiCcxR7/cColWF2pTlbZOIoQD/mVrEhzvIB2SE1ugcZDspcvoI401bxp/7LP Wb0S0fLIyniqEFRqqlMP+KWJOx8JRsdY0Ewi+sEFjhm7EbhlfXkBjXLGpmH45Cjd+Ffl zCE428NUTTkcZCTxLbCqcLSkCBpLlr57atFSN43NqCrz5+rfMf5KshC9LdpFXDesiwNi TBig== Received: by 10.68.224.8 with SMTP id qy8mr70537252pbc.88.1354221950186; Thu, 29 Nov 2012 12:45:50 -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 x2sm1596650paw.8.2012.11.29.12.45.46 (version=TLSv1/SSLv3 cipher=OTHER); Thu, 29 Nov 2012 12:45:49 -0800 (PST) Received: by mcgrof@gmail.com (sSMTP sendmail emulation); Thu, 29 Nov 2012 12:45:44 -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 6/6] ie6xx_wdt: convert struct spinlock to spinlock_t Date: Thu, 29 Nov 2012 12:45:10 -0800 Message-Id: <1354221910-22493-7-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. CHECK drivers/watchdog/ie6xx_wdt.c CC [M] drivers/watchdog/ie6xx_wdt.o Building modules, stage 2. MODPOST 43 modules LD [M] drivers/watchdog/ie6xx_wdt.ko Cc: Alexander Stein Reported-by: Hauke Mehrtens Signed-off-by: Luis R. Rodriguez --- drivers/watchdog/ie6xx_wdt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/watchdog/ie6xx_wdt.c b/drivers/watchdog/ie6xx_wdt.c index e24ef6a..f2d6573 100644 --- a/drivers/watchdog/ie6xx_wdt.c +++ b/drivers/watchdog/ie6xx_wdt.c @@ -82,7 +82,7 @@ MODULE_PARM_DESC(resetmode, static struct { unsigned short sch_wdtba; - struct spinlock unlock_sequence; + spinlock_t unlock_sequence; #ifdef CONFIG_DEBUG_FS struct dentry *debugfs; #endif