From patchwork Mon Jan 11 16:45:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 59551 Delivered-To: patch@linaro.org Received: by 10.112.130.2 with SMTP id oa2csp2223260lbb; Mon, 11 Jan 2016 08:46:14 -0800 (PST) X-Received: by 10.98.64.83 with SMTP id n80mr27594333pfa.149.1452530774141; Mon, 11 Jan 2016 08:46:14 -0800 (PST) Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id z11si29549871pfa.153.2016.01.11.08.46.13; Mon, 11 Jan 2016 08:46:14 -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; dkim=pass header.i=@linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933194AbcAKQqA (ORCPT + 29 others); Mon, 11 Jan 2016 11:46:00 -0500 Received: from mail-wm0-f52.google.com ([74.125.82.52]:38905 "EHLO mail-wm0-f52.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1761297AbcAKQp6 (ORCPT ); Mon, 11 Jan 2016 11:45:58 -0500 Received: by mail-wm0-f52.google.com with SMTP id b14so278219097wmb.1 for ; Mon, 11 Jan 2016 08:45:57 -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=EDkduislgkSyahSwfuMspOsyTngku3sPgXnZQ/mLXF0=; b=OOPQuq7IxxmENLUK2OsTuR/VGMv3RhaYuJnvpyDuOK608qfqqGlOPZVr9+4APuQE0+ Z4YEi1liXmhU2nGipXjyAyaEPPHQ+5cQ2932pO3FT07p4bD8xIAsFNTOZyozdiWD5UCn FEMFUpKlM8lqhcPEhqWOWw2Bect32kHZ/NbCg= 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=EDkduislgkSyahSwfuMspOsyTngku3sPgXnZQ/mLXF0=; b=Duu80WetAlRDt4C3BxGcQN/Cr+BEwjnVAE9LaFykabqDr+DllDalCPrHPB5L1Lc6rk fHZuOiI5Rn+tiWl9PSUF262vBmLmzVPHF0XoLuteQNjzt8MnfRvioF+XR/WjBUSmYetO Od3lb4gc4dm5GbnjsuS1j4S9bdu7EnP/xHpoouV1W/DD/7tUMTGMSoEXMBjQrIPlmSwa kJvNu7UngBtbnCqQ0nZmK/uppfgejI34eVMal2owNWvzkkNfuCZldwHl1hekPrV4QdfW 3luh0xT8/UdbKxREMzVNK6ZHxj1tFAwOUjISkGSseUqUAEIvvLksayncSWxfnS6HJXAT LMVg== X-Gm-Message-State: ALoCoQnAisVDJa+9fSxwgSlF98GdTkyDXYRhnWJ3ipQ3WyZDBiRDm29hPnjU2XnCC5sMezXxeniNJFNnXlUTEPqgi1U5TSW0ww== X-Received: by 10.194.117.68 with SMTP id kc4mr91072961wjb.111.1452530757117; Mon, 11 Jan 2016 08:45:57 -0800 (PST) Received: from localhost.localdomain (sju31-1-78-210-255-2.fbx.proxad.net. [78.210.255.2]) by smtp.gmail.com with ESMTPSA id e9sm120357429wjp.18.2016.01.11.08.45.56 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 11 Jan 2016 08:45:56 -0800 (PST) From: Daniel Lezcano To: tglx@linutronix.de Cc: Randy Dunlap , linux-kernel@vger.kernel.org (open list:CLOCKSOURCE, CLOC...) Subject: [PATCH 2/2] clocksource/drivers/fsl_ftm_timer: Fix CLKSRC_MMIO dependency Date: Mon, 11 Jan 2016 17:45:09 +0100 Message-Id: <1452530709-4471-2-git-send-email-daniel.lezcano@linaro.org> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1452530709-4471-1-git-send-email-daniel.lezcano@linaro.org> References: <5693DBA1.8000509@linaro.org> <1452530709-4471-1-git-send-email-daniel.lezcano@linaro.org> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Select CLKSRC_MMIO when FSL_FTM_TIMER is enabled. Otherwise it fails to compile on i386 with COMPILE_TEST=y. " on i386: when CLKSRC_MMIO is not enabled: drivers/built-in.o: In function `ftm_timer_init': fsl_ftm_timer.c:(.init.text+0x6842): undefined reference to `clocksource_mmio_readl_up' fsl_ftm_timer.c:(.init.text+0x6855): undefined reference to `clocksource_mmio_init' " Reported-by: Randy Dunlap Signed-off-by: Daniel Lezcano --- drivers/clocksource/Kconfig | 1 + 1 file changed, 1 insertion(+) -- 1.9.1 diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig index 95c33f4..1efd859 100644 --- a/drivers/clocksource/Kconfig +++ b/drivers/clocksource/Kconfig @@ -257,6 +257,7 @@ config CLKSRC_SAMSUNG_PWM config FSL_FTM_TIMER bool "Freescale FlexTimer Module driver" if COMPILE_TEST depends on GENERIC_CLOCKEVENTS + select CLKSRC_MMIO help Support for Freescale FlexTimer Module (FTM) timer.