From: Vinod Koul Date: Mon, 25 Jul 2011 13:52:01 +0000 (+0530) Subject: dmaengine: pl08x: handle the rest of enums in pl08x_width X-Git-Tag: v3.1-rc1~92^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f32807f1ff7fbfd2d4ec708b1ac8cb75cb92bfef;p=pandora-kernel.git dmaengine: pl08x: handle the rest of enums in pl08x_width pl08x_width function does not handle rest of enums for DMA_SLAVE_BUSWIDTH_xxxx which causes gcc to emit below warining drivers/dma/amba-pl08x.c: In function 'pl08x_width': drivers/dma/amba-pl08x.c:1119: warning: enumeration value 'DMA_SLAVE_BUSWIDTH_UNDEFINED' not handled in switch drivers/dma/amba-pl08x.c:1119: warning: enumeration value 'DMA_SLAVE_BUSWIDTH_8_BYTES' not handled in switch this patch adds a default case which returns error Signed-off-by: Vinod Koul --- Reading git-diff-tree failed