From patchwork Tue Mar 28 15:13:59 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 96168 Delivered-To: patch@linaro.org Received: by 10.140.89.233 with SMTP id v96csp1758701qgd; Tue, 28 Mar 2017 08:14:37 -0700 (PDT) X-Received: by 10.98.88.130 with SMTP id m124mr32633798pfb.76.1490714077559; Tue, 28 Mar 2017 08:14:37 -0700 (PDT) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u19si3194784pfk.144.2017.03.28.08.14.37; Tue, 28 Mar 2017 08:14:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753739AbdC1POh (ORCPT + 17 others); Tue, 28 Mar 2017 11:14:37 -0400 Received: from mail-wm0-f47.google.com ([74.125.82.47]:36554 "EHLO mail-wm0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752159AbdC1POf (ORCPT ); Tue, 28 Mar 2017 11:14:35 -0400 Received: by mail-wm0-f47.google.com with SMTP id o81so1249185wmb.1 for ; Tue, 28 Mar 2017 08:14:15 -0700 (PDT) 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=RnJl5ZIqma8pmrFFzEyfpD9x6bCX5jtMCqu3aZAbxMs=; b=Q5VVqLJnqL4lL/NnWmv1W8B5LEh2+DO4BaRO5kAW6kuqRVFek/ZpbMECo1uRFiuMlz 0XvAi2VRTJzZ/I3WmTRnNWCcgam11qTu1sICXZt25cP8UDFdmj6lGOP07c3aGkdlbwoM cQOlt6QaU2pAEtqczOCcYU92ckxG7X+q4LMUg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=RnJl5ZIqma8pmrFFzEyfpD9x6bCX5jtMCqu3aZAbxMs=; b=qxxv+z3rS9ji5EV6224o9NqJjtwVOHvEjd4Lzo++NbysLuIfkoPBsRwxQ5zQTOq8yU qij6FUk6wsXDSFOBb3sT7k1zcgZ4JuXXcR03bew+LGwGZ10HGo6pu5T8k2tS2or2egNR d6+kNEf6ipFo+s6t/7WRPBe9RENF9OmyyGQgdJ3C6rIuU1YuXVYjLGt8u6hjDQNucclD sWxEWeYncSx6ZaaiEhMa4KVqnPeBSNOY0shERNt6I27a/hydXxn5kJqNTXPgkWwNpoIX Ox4K6AYyjERhOVLINmQpZEp9neR8y92ZePYl1+6p56Gf27/tsg31Wx2xJW9KdXJxVCw0 T8+g== X-Gm-Message-State: AFeK/H1jX8eAwBLJd62xEQuYpq+lN5NLkHuRJQwAz34/sTSgI/R1v1UMGhgxpIx8bAv4rU4e X-Received: by 10.28.170.67 with SMTP id t64mr14895334wme.18.1490714054255; Tue, 28 Mar 2017 08:14:14 -0700 (PDT) Received: from localhost.localdomain ([2a01:e35:879a:6cd0:3e97:eff:fe5b:1402]) by smtp.gmail.com with ESMTPSA id w2sm4007089wmd.19.2017.03.28.08.14.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 28 Mar 2017 08:14:13 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de, mingo@kernel.org Cc: al.kochet@gmail.com, linux-kernel@vger.kernel.org Subject: [PATCH 1/2] clockevents: Fix syntax error in clkevt-of macro Date: Tue, 28 Mar 2017 17:13:59 +0200 Message-Id: <1490714040-30474-1-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <20170328151230.GG2123@mai> References: <20170328151230.GG2123@mai> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alexander Kochetkov The patch fix syntax errors introduced by commit 0c8893c9095d ("clockevents: Add a clkevt-of mechanism like clksrc-of"). Fixes: 0c8893c9095d ("clockevents: Add a clkevt-of mechanism like clksrc-of") Signed-off-by: Alexander Kochetkov Signed-off-by: Daniel Lezcano --- drivers/clocksource/clkevt-probe.c | 2 +- include/linux/clockchips.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) -- 2.7.4 diff --git a/drivers/clocksource/clkevt-probe.c b/drivers/clocksource/clkevt-probe.c index 8c30fec..eb89b50 100644 --- a/drivers/clocksource/clkevt-probe.c +++ b/drivers/clocksource/clkevt-probe.c @@ -17,7 +17,7 @@ #include #include -#include +#include extern struct of_device_id __clkevt_of_table[]; diff --git a/include/linux/clockchips.h b/include/linux/clockchips.h index 5d3053c..6d7edc3 100644 --- a/include/linux/clockchips.h +++ b/include/linux/clockchips.h @@ -229,7 +229,7 @@ static inline void tick_setup_hrtimer_broadcast(void) { } #ifdef CONFIG_CLKEVT_PROBE extern int clockevent_probe(void); -#els +#else static inline int clockevent_probe(void) { return 0; } #endif