From patchwork Tue Mar 5 13:24:48 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnd Bergmann X-Patchwork-Id: 159648 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp4967791jad; Tue, 5 Mar 2019 05:25:39 -0800 (PST) X-Google-Smtp-Source: APXvYqzzwPcMlJ8gPA8Gpxc9lOtQQSFITbLY191QUz3rtjFkPBW7HdvHWvFbD4sXvWrca4OUS59y X-Received: by 2002:a63:a047:: with SMTP id u7mr1397444pgn.61.1551792339683; Tue, 05 Mar 2019 05:25:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1551792339; cv=none; d=google.com; s=arc-20160816; b=UDKHh0627/SduHoHPw+XtoFeGIpqdcg+YwYtP0ntumJrriKkegxnuFChi8GhCVGKSD mnY3HzcTTQm2hox+s38neFXxFlTja8f8KNRQrRT/XJNs4CEklgBROQ6ntohhjAp5QpZ8 KIJrkD91DjelIpBsUcDPb0ZKV65pNTL7FzXUO+48qWPUuqSq2u/BB+E3NwFLpiOsIA3A nxJcaVhz2zwPxJj9/5rM0X/6G7tUlpK4lHhEHge9Qrq7C/zycg0YnW5febT1GJCaudC/ LVfXaFvBTW2Qvi98JqSDGipQJJe7IcBHzawHOzjM6n1bQfltMwEnOjmOiaXPiKWHNsS1 DHJQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=EshQ7THr5RhQayx/7kLSvG46xKTubKcgBwyDXqhum4g=; b=hYRfA4EOj+WqRgkVbOoWVXasrdBrEw6Bs+Fx9I1mw0q+/45S3er3F2Gf//g4JjibcB uxmyfc3XLKFIlQ6Djw3lSJZDk9J0Uvvcp+eJYBGW0OTpp7krwicQ3c96rJsPHFdu5uJC 6DY1bT4KJOos2ZdkBiARbOB7Peuv7Q68krivzZoxF+FztHMvi00TeI5SC3te7UvmxZN/ sjm5/uvawDO3xPdfkDlwBtPDHeObNh7tW4JLEQUBti0cuKPzHl7KAqnieKLpZX0JPbAe fEcviVDNGp5tk15tiuh7ds3YYV0L2/Zj/fxmc8tDAcNg8BJlBO/BM1fu7jM5SpOckm4n s2gw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f34si8409700ple.279.2019.03.05.05.25.39; Tue, 05 Mar 2019 05:25:39 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727818AbfCENZi (ORCPT + 31 others); Tue, 5 Mar 2019 08:25:38 -0500 Received: from mout.kundenserver.de ([212.227.126.133]:50995 "EHLO mout.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726757AbfCENZh (ORCPT ); Tue, 5 Mar 2019 08:25:37 -0500 Received: from wuerfel.lan ([109.192.41.194]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.129]) with ESMTPA (Nemesis) id 1MhlXE-1hW4yn3bfc-00dmB9; Tue, 05 Mar 2019 14:25:29 +0100 From: Arnd Bergmann To: Daniel Lezcano , Thomas Gleixner Cc: Arnd Bergmann , Tomer Maimon , linux-kernel@vger.kernel.org Subject: [PATCH] clocksource/drivers/npcm: select TIMER_OF Date: Tue, 5 Mar 2019 14:24:48 +0100 Message-Id: <20190305132529.3835223-1-arnd@arndb.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I/ED+BIJVDyQihfC /brHxl8SA9cBFtS8/2o+RnbfUP95Kr3aSyxOcw== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When this is disabled, we get a link failure: drivers/clocksource/timer-npcm7xx.o: In function `npcm7xx_timer_init': timer-npcm7xx.c:(.init.text+0xf): undefined reference to `timer_of_init' Fixes: 1c00289ecd12 ("clocksource/drivers/npcm: Add NPCM7xx timer driver") Signed-off-by: Arnd Bergmann --- drivers/clocksource/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 2.20.0 diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 171502a356aa..4b3d143f0f8a 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -145,6 +145,7 @@ config VT8500_TIMER config NPCM7XX_TIMER bool "NPCM7xx timer driver" if COMPILE_TEST depends on HAS_IOMEM + select TIMER_OF select CLKSRC_MMIO help Enable 24-bit TIMER0 and TIMER1 counters in the NPCM7xx architecture,