David Brownell wrote:
+u32 davinci_timer_irqs[NUM_TIMERS] = {
Isn't wanting NUM_TIMERS itself a problem? Why not just
pass the size of the timer address array, and then just
know that the IRQ array is twice as big?
Or better still, have a structure like:
struct timer64 {
u32 base;
int bot_irq, top_irq, cmp_irq;
};
WBR, Sergei
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source