From patchwork Fri Jan 15 19:21:06 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 59886 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp739718lbb; Fri, 15 Jan 2016 11:27:04 -0800 (PST) X-Received: by 10.98.68.152 with SMTP id m24mr17300912pfi.78.1452886023257; Fri, 15 Jan 2016 11:27:03 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o81si18219075pfi.9.2016.01.15.11.27.03; Fri, 15 Jan 2016 11:27:03 -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 S1752342AbcAOT1B (ORCPT + 4 others); Fri, 15 Jan 2016 14:27:01 -0500 Received: from mail-lb0-f179.google.com ([209.85.217.179]:35115 "EHLO mail-lb0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751709AbcAOT1A (ORCPT ); Fri, 15 Jan 2016 14:27:00 -0500 Received: by mail-lb0-f179.google.com with SMTP id bc4so319296643lbc.2 for ; Fri, 15 Jan 2016 11:26:59 -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=IRIqPUnTxSYxckhWtcVGRHrDB6Ht2F0dvPt00WIQ4dw=; b=ffmWlzuF5XP7aPE3JbszEitcQ/evAhlFqJpAA9K1DErwoBoLPGpvFMc32YLht6qDVU Ofao7UJ9a+AJzFFVnqx6wzWV5WYRfDuetGXgHL5023kUFyKuDIQaU5bwQOJAhdKYXzSi BB42cyFq/FrnmkyCvUVZrXlugXEi1sPcQ65vs= 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=IRIqPUnTxSYxckhWtcVGRHrDB6Ht2F0dvPt00WIQ4dw=; b=Pvu05NkSevpqC+CtntSnzlVstvY1iqycMsX3wLKbrPFil3Uz0mO2YYGFfYuHK+qiDn 3SI7lsDw1VD3QYbKo6mjEB/t7EdqpqhB7S9lzVGIPd+kJcYc8k8O6kiJaeHT0VZhC+1F vH9wzFXmZTpl2kqwgCR1NsfmG627JgsCf4YDlpg2eeW38pvcafhd8HWF3YXk1d47e8ai mVDDckHLGHasxe+CobdBNLooiU0c0OOH3mbXFDXsmMegT21ptHQXP55Bt8CdjIjuzYpZ fyal9QKPGqPuKqZMRHXUqqSfpOGde+lYpRc/NL4dYjFw+KLuMZg2EOcXipPAa+HUNtnD 8Rcg== X-Gm-Message-State: ALoCoQlY5CaOzz7aG6jvh7GSoE+AJijtNp1wv7q8RuRjuYcLLjwK8niQKd8orB0t/LM/YZSIlOpnTot3Eo2iwUpVyKRbSUiuMA== X-Received: by 10.112.167.37 with SMTP id zl5mr4108342lbb.60.1452886019096; Fri, 15 Jan 2016 11:26:59 -0800 (PST) Received: from localhost (c-932171d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.113.33.147]) by smtp.gmail.com with ESMTPSA id k3sm1531132lbp.9.2016.01.15.11.26.57 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 15 Jan 2016 11:26:57 -0800 (PST) From: Anders Roxell To: bigeasy@linutronix.de Cc: linux-rt-users@vger.kernel.org, khilman@kernel.org, Anders Roxell Subject: [PATCH 2/9] drivers/clocksource: timer-atmel-pit: fix forward declaration Date: Fri, 15 Jan 2016 20:21:06 +0100 Message-Id: <1452885673-30891-3-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 Forward declare function at91sam926x_pit_interrupt before use. Used multi_v7_defconfig+PREEMPT_RT_FULL=y and this caused a compilation error without this fix: ../drivers/clocksource/timer-atmel-pit.c: In function 'pit_clkevt_set_periodic': ../drivers/clocksource/timer-atmel-pit.c:111:31: error: 'at91sam926x_pit_interrupt' undeclared (first use in this function) ret = request_irq(data->irq, at91sam926x_pit_interrupt, Signed-off-by: Anders Roxell --- drivers/clocksource/timer-atmel-pit.c | 1 + 1 file changed, 1 insertion(+) -- 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-pit.c b/drivers/clocksource/timer-atmel-pit.c index 2e313e6..f87e660 100644 --- a/drivers/clocksource/timer-atmel-pit.c +++ b/drivers/clocksource/timer-atmel-pit.c @@ -100,6 +100,7 @@ static int pit_clkevt_shutdown(struct clock_event_device *dev) return 0; } +static irqreturn_t at91sam926x_pit_interrupt(int irq, void *dev_id); /* * Clockevent device: interrupts every 1/HZ (== pit_cycles * MCK/16) */