summaryrefslogtreecommitdiffstats
path: root/include/asm-blackfin/bf5xx_timers.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-blackfin/bf5xx_timers.h')
-rw-r--r--include/asm-blackfin/bf5xx_timers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-blackfin/bf5xx_timers.h b/include/asm-blackfin/bf5xx_timers.h
index 86c770321b6..8e8246f32fe 100644
--- a/include/asm-blackfin/bf5xx_timers.h
+++ b/include/asm-blackfin/bf5xx_timers.h
@@ -16,7 +16,7 @@
/*
* BF537: 8 timers:
*/
-#if defined(CONFIG_BF537)
+#if defined(BF527_FAMILY) || defined(BF537_FAMILY)
# define MAX_BLACKFIN_GPTIMERS 8
# define TIMER0_GROUP_REG TIMER_ENABLE
#endif