Title: [5794] branches/2008R1/drivers/char/bfin_simple_timer.c: fix building on bf54x -- it has 11 timers, not 12
- Revision
- 5794
- Author
- vapier
- Date
- 2008-12-02 16:14:40 -0600 (Tue, 02 Dec 2008)
Log Message
fix building on bf54x -- it has 11 timers, not 12
Modified Paths
Diff
Modified: branches/2008R1/drivers/char/bfin_simple_timer.c (5793 => 5794)
--- branches/2008R1/drivers/char/bfin_simple_timer.c 2008-12-02 22:13:52 UTC (rev 5793)
+++ branches/2008R1/drivers/char/bfin_simple_timer.c 2008-12-02 22:14:40 UTC (rev 5794)
@@ -95,8 +95,10 @@
{TIMER8_id, TIMER8bit, TIMER_STATUS_TIMIL8, IRQ_TIMER8},
{TIMER9_id, TIMER9bit, TIMER_STATUS_TIMIL9, IRQ_TIMER9},
{TIMER10_id, TIMER10bit, TIMER_STATUS_TIMIL10, IRQ_TIMER10},
+#if (MAX_BLACKFIN_GPTIMERS > 11)
{TIMER11_id, TIMER11bit, TIMER_STATUS_TIMIL11, IRQ_TIMER11},
#endif
+#endif
};
static int timer_ioctl(struct inode *inode, struct file *filp, uint cmd, unsigned long arg){
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
http://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits