From: Mike Frysinger <vapier.adi@gmail.com>
Date: Sat, 28 Mar 2009 12:31:33 +0000 (+0800)
Subject: Blackfin arch: bf51x processors also have 8 timers
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ffc89627ae14b46f41836ddabdc9dc77c597eca5;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git

Blackfin arch: bf51x processors also have 8 timers

Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
---

diff --git a/arch/blackfin/include/asm/gptimers.h b/arch/blackfin/include/asm/gptimers.h
index 0520d2aac8f3..a29f649e1729 100644
--- a/arch/blackfin/include/asm/gptimers.h
+++ b/arch/blackfin/include/asm/gptimers.h
@@ -15,9 +15,9 @@
 #include <asm/blackfin.h>
 
 /*
- * BF537/BF527: 8 timers:
+ * BF51x/BF52x/BF537: 8 timers:
  */
-#if defined(BF527_FAMILY) || defined(BF537_FAMILY)
+#if defined(CONFIG_BF51x) || defined(BF527_FAMILY) || defined(BF537_FAMILY)
 # define MAX_BLACKFIN_GPTIMERS 8
 # define TIMER0_GROUP_REG      TIMER_ENABLE
 #endif