From patchwork Fri Jan 15 19:21:10 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 59889 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp739815lbb; Fri, 15 Jan 2016 11:27:16 -0800 (PST) X-Received: by 10.98.16.146 with SMTP id 18mr17500431pfq.122.1452886027807; Fri, 15 Jan 2016 11:27:07 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m86si18218205pfi.229.2016.01.15.11.27.07; Fri, 15 Jan 2016 11:27:07 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-rt-users-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-rt-users-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-rt-users-owner@vger.kernel.org; dkim=neutral (body hash did not verify) header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754063AbcAOT1G (ORCPT + 4 others); Fri, 15 Jan 2016 14:27:06 -0500 Received: from mail-lf0-f52.google.com ([209.85.215.52]:35597 "EHLO mail-lf0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751709AbcAOT1F (ORCPT ); Fri, 15 Jan 2016 14:27:05 -0500 Received: by mail-lf0-f52.google.com with SMTP id c192so288989413lfe.2 for ; Fri, 15 Jan 2016 11:27:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=mHGkEcYBRUt3kki/JyC9LGW2Trd9CucZtZ83Y1YQNZU=; b=FLcv/Gdt/QiDQTEPybxlWhOS9+3J/xddcWZng1d22MFkn4PX8uvpcRgX+L5MTJ0Z5k RWpNICWWVEsbpHi1+QNPPRm7mPiKijKO0BpQPlJrlq1xQ/11JMYT2JJHnLMjKwKtG1e8 ViqY6uMHqqL582qarrW0nFOBWJtGeP4fEz3IU= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=mHGkEcYBRUt3kki/JyC9LGW2Trd9CucZtZ83Y1YQNZU=; b=PVNnC8urElkz+MYTdOZwIdy3fc0ElELRSZOQHsbhPHBgw4/r0h/H+TjS3Z7nAJbJy+ RQKPeuw/8hyXL6f7aGQd8aDvJZ3lQ5GgumrBhGZTRA2dfxMi+RbciVq9JaJIJ7kWm6ox 66/YTDFt4O0MJaOrN2gVzoFkufi5y/RkxgD0Ch7ZfytTN4IJGuTNL6tybJv5QY1rkzWv OWANJ7Cwb7U3NBzMRzwAogmiMk3ujxpQh52qBGmx27RUWH32EE4zvqU596Hu5uSmMsym tT/jaUxZKs3jxpofHPCQqluM6kaSIHSD0ZgyfVtVX4hHgPQ7L+cDMGWIwhGSgZMiIJhT YiyQ== X-Gm-Message-State: ALoCoQmFptZOrVV/E7X71UXwhMTr6E0GU/TRU5EaVE8ZFlMrdWe/AiHBZp0AUYa9SY7o8O8vXUMWqnjuGkXCZG1nJ+T5iOujLg== X-Received: by 10.25.17.229 with SMTP id 98mr3382585lfr.3.1452886024320; Fri, 15 Jan 2016 11:27:04 -0800 (PST) Received: from localhost (c-932171d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.113.33.147]) by smtp.gmail.com with ESMTPSA id ax1sm1483928lbc.20.2016.01.15.11.27.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jan 2016 11:27:03 -0800 (PST) From: Anders Roxell To: bigeasy@linutronix.de Cc: linux-rt-users@vger.kernel.org, khilman@kernel.org, Anders Roxell Subject: [PATCH 6/9] drivers/clocksource: timer-atmel-st: undeclared var 'irq' Date: Fri, 15 Jan 2016 20:21:10 +0100 Message-Id: <1452885673-30891-7-git-send-email-anders.roxell@linaro.org> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1452885673-30891-1-git-send-email-anders.roxell@linaro.org> References: <1452885673-30891-1-git-send-email-anders.roxell@linaro.org> Sender: linux-rt-users-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-rt-users@vger.kernel.org Used the at91_dt_defconfig and this caused a compilation error without this fix: ../drivers/clocksource/timer-atmel-st.c: In function 'atmel_st_timer_init': ../drivers/clocksource/timer-atmel-st.c:232:2: error: 'irq' undeclared (first use in this function) make[3]: *** [drivers/clocksource/timer-atmel-st.o] Error 1 Signed-off-by: Anders Roxell --- drivers/clocksource/timer-atmel-st.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/clocksource/timer-atmel-st.c b/drivers/clocksource/timer-atmel-st.c index ea4d8e5..b26735f 100644 --- a/drivers/clocksource/timer-atmel-st.c +++ b/drivers/clocksource/timer-atmel-st.c @@ -217,7 +217,7 @@ static void __init atmel_st_timer_init(struct device_node *node) { struct clk *sclk; unsigned int sclk_rate, val; - int ret; + int irq, ret; regmap_st = syscon_node_to_regmap(node); if (IS_ERR(regmap_st))