]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
Blackfin arch: bf51x processors also have 8 timers
authorMike Frysinger <vapier.adi@gmail.com>
Sat, 28 Mar 2009 12:31:33 +0000 (20:31 +0800)
committerBryan Wu <cooloney@kernel.org>
Sat, 28 Mar 2009 12:31:33 +0000 (20:31 +0800)
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
arch/blackfin/include/asm/gptimers.h

index 0520d2aac8f3f2d1cf600a31ff964b2643732e6b..a29f649e17294253e4331156ad1efca133ac069c 100644 (file)
@@ -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