[PATCH] clocksource: rename "CONFIG_NOMADIK_MTU_SCHED_CLOCK"

From: Paul Bolle
Date: Mon Mar 25 2013 - 05:58:46 EST


One of the things that commit 694e33a7f42de7dcc8b43c3990c597b19ef9b438
("ARM: plat-nomadik: move MTU, kill plat-nomadik") did was to rename
Kconfig symbol NOMADIK_MTU_SCHED_CLOCK to
CLKSRC_NOMADIK_MTU_SCHED_CLOCK. It forgot to rename two references to
the related macro in the code.

Signed-off-by: Paul Bolle <pebolle@xxxxxxxxxx>
---
Not even compile tested. Should go into stable for 3.8, after testing.

drivers/clocksource/nomadik-mtu.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/clocksource/nomadik-mtu.c b/drivers/clocksource/nomadik-mtu.c
index 071f6ea..e405531 100644
--- a/drivers/clocksource/nomadik-mtu.c
+++ b/drivers/clocksource/nomadik-mtu.c
@@ -67,7 +67,7 @@ static u32 clk_prescale;
static u32 nmdk_cycle; /* write-once */
static struct delay_timer mtu_delay_timer;

-#ifdef CONFIG_NOMADIK_MTU_SCHED_CLOCK
+#ifdef CONFIG_CLKSRC_NOMADIK_MTU_SCHED_CLOCK
/*
* Override the global weak sched_clock symbol with this
* local implementation which uses the clocksource to get some
@@ -233,7 +233,7 @@ void __init nmdk_timer_init(void __iomem *base, int irq)
pr_err("timer: failed to initialize clock source %s\n",
"mtu_0");

-#ifdef CONFIG_NOMADIK_MTU_SCHED_CLOCK
+#ifdef CONFIG_CLKSRC_NOMADIK_MTU_SCHED_CLOCK
setup_sched_clock(nomadik_read_sched_clock, 32, rate);
#endif

--
1.7.11.7

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