summaryrefslogtreecommitdiff
path: root/drivers/clk/at91/compat.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/clk/at91/compat.c')
-rw-r--r--drivers/clk/at91/compat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/at91/compat.c b/drivers/clk/at91/compat.c
index b2bfb529cc..2fdc2fbd55 100644
--- a/drivers/clk/at91/compat.c
+++ b/drivers/clk/at91/compat.c
@@ -150,7 +150,7 @@ static int at91_slow_clk_enable(struct clk *clk)
static ulong at91_slow_clk_get_rate(struct clk *clk)
{
- return CONFIG_SYS_AT91_SLOW_CLOCK;
+ return CFG_SYS_AT91_SLOW_CLOCK;
}
static struct clk_ops at91_slow_clk_ops = {