Blackfin: gptimers: use unsigned timer/group ids
authorMike Frysinger <vapier@gentoo.org>
Sun, 15 Nov 2009 07:35:22 +0000 (07:35 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 15 Dec 2009 05:15:30 +0000 (00:15 -0500)
commit8c0b4351ccec30e2926d0d0742ee1fa145f6e8e3
treebc4bb49fdf2848824c59138f9c05c0b704f2117d
parentdbc5e6989e2261c965bae5269d26ed1641e1534c
Blackfin: gptimers: use unsigned timer/group ids

Since we always use these ids as unsigned values, and we have some assert
code to make sure they don't exceed a limit, avoid signed issues.

Reported-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/include/asm/gptimers.h
arch/blackfin/kernel/gptimers.c