Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1164908

[PATCH -next] ARM: Fix build if CLKDEV_LOOKUP is not configured

Path csiph.com!aioe.org!bofh.it!news.nic.it!robomod
From Guenter Roeck <linux@roeck-us.net>
Newsgroups linux.kernel
Subject [PATCH -next] ARM: Fix build if CLKDEV_LOOKUP is not configured
Date Sun, 14 Jun 2015 20:30:02 +0200
Message-ID <pBkPo-4aL-9@gated-at.bofh.it> (permalink)
X-Original-To Daniel Lezcano <daniel.lezcano@linaro.org>
Dkim-Signature v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=roeck-us.net; s=default; h=Message-Id:Date:Subject:Cc:To:From; bh=0fctdLSB2sGfyXmKkKh/S8avqIxJEeG7HMW2VenjWbM=; b=JZ+Xf1pivSD7as+mWdQ3Sp0+4K1ng6rJG83Y6G1d7ukuFxTDAL6YJ/B7qBUL1dbuFk9WiOxIS/NhJKGqoi6JJaBz3bB6W/R63M1dGYGWDXWlqtcMxC5T9+1QkZzVq4iPRc9qZ+dh7TlRMZGGtJHHr3bLFqZtn2QkIxmmEldYjLE=;
X-Mailer git-send-email 2.1.0
X-Authenticated_Sender guenter@roeck-us.net
X-Outgoing-Spam-Status No, score=-1.0
X-Antiabuse This header was added to track abuse, please include it with any abuse report
X-Antiabuse Primary Hostname - bh-25.webhostbox.net
X-Antiabuse Original Domain - vger.kernel.org
X-Antiabuse Originator/Caller UID/GID - [47 12] / [47 12]
X-Antiabuse Sender Address Domain - roeck-us.net
X-Get-Message-Sender-Via bh-25.webhostbox.net: authenticated_id: guenter@roeck-us.net
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 38
Organization linux.* mail to news gateway
X-Original-Cc Thomas Gleixner <tglx@linutronix.de>, linux-kernel@vger.kernel.org, Guenter Roeck <linux@roeck-us.net>, Sudeep Holla <sudeep.holla@arm.com>
X-Original-Date Sun, 14 Jun 2015 11:24:57 -0700
X-Original-Message-ID <1434306297-21987-1-git-send-email-linux@roeck-us.net>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref aioe.org linux.kernel:1164908

Show key headers only | View raw


mips:allmodconfig fails to build with

drivers/clocksource/timer-sp804.c:
	In function '__sp804_clocksource_and_sched_clock_init':
drivers/clocksource/timer-sp804.c:88:3: error:
	implicit declaration of function 'clk_get_sys'

because CLKDEV_LOOKUP is not configured and the driver depends on it.

Fixes: 0b7402dce445 ("ARM: 8366/1: move Dual-Timer SP804 driver to
	drivers/clocksource")
Cc: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
---
 drivers/clocksource/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/clocksource/Kconfig b/drivers/clocksource/Kconfig
index 60d7d3d204d3..d2a26f1f30e9 100644
--- a/drivers/clocksource/Kconfig
+++ b/drivers/clocksource/Kconfig
@@ -144,7 +144,7 @@ config ARM_GLOBAL_TIMER
 
 config ARM_TIMER_SP804
 	bool "Support for Dual Timer SP804 module"
-	depends on GENERIC_SCHED_CLOCK
+	depends on GENERIC_SCHED_CLOCK && CLKDEV_LOOKUP
 	select CLKSRC_MMIO
 	select CLKSRC_OF if OF
 
-- 
2.1.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH -next] ARM: Fix build if CLKDEV_LOOKUP is not configured Guenter Roeck <linux@roeck-us.net> - 2015-06-14 20:30 +0200

csiph-web