[MIPS] Alchemy: Fix ids in Alchemy db dma device table
authorWolfgang Ocker <weo@reccoware.de>
Sun, 10 Feb 2008 19:31:33 +0000 (20:31 +0100)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 12 Mar 2008 14:14:40 +0000 (14:14 +0000)
0 is a valid device id (DSCR_CMD0_UART0_TX), so we can't use it to mark
an empty entry in the device table. Use ~0 instead and search for id ~0
when looking for a free entry.

Signed-off-by: Wolfgang Ocker <weo@reccoware.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>

No differences found