aboutsummaryrefslogtreecommitdiff
path: root/drivers/clocksource/clps711x-timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clocksource/clps711x-timer.c')
-rw-r--r--drivers/clocksource/clps711x-timer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clocksource/clps711x-timer.c b/drivers/clocksource/clps711x-timer.c
index fc9e025cc395..a8dd80576c95 100644
--- a/drivers/clocksource/clps711x-timer.c
+++ b/drivers/clocksource/clps711x-timer.c
@@ -103,7 +103,7 @@ void __init clps711x_clksrc_init(void __iomem *tc1_base, void __iomem *tc2_base,
BUG_ON(_clps711x_clkevt_init(tc2, tc2_base, irq));
}
-#ifdef CONFIG_CLKSRC_OF
+#ifdef CONFIG_TIMER_OF
static int __init clps711x_timer_init(struct device_node *np)
{
unsigned int irq = irq_of_parse_and_map(np, 0);