From: Wolfgang Ocker Date: Sun, 10 Feb 2008 19:31:33 +0000 (+0100) Subject: [MIPS] Alchemy: Fix ids in Alchemy db dma device table X-Git-Tag: v2.6.25-rc6~33^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ec734c2b8b005667ffdaef8610d1024630683b0;p=pandora-kernel.git [MIPS] Alchemy: Fix ids in Alchemy db dma device table 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 Signed-off-by: Ralf Baechle --- Reading git-diff-tree failed