From: Jarkko Nikula Date: Sat, 15 Jun 2013 08:31:03 +0000 (+0300) Subject: ARM: OMAP2+: Remove duplicated DMA channel definitions X-Git-Tag: omap-for-v3.11/dma-signed~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9bd5b2753964e69edef4dac66ea9b21ac2b3d149;p=pandora-kernel.git ARM: OMAP2+: Remove duplicated DMA channel definitions Many DMA channel definitions in arch/arm/mach-omap2/dma.h have been moved or redefined in drivers without removing them from dma.h. Remove those with a script below: egrep '#define OMAP.*DMA' arch/arm/mach-omap2/dma.h \ |cut -f 1 |cut -d ' ' -f 1-2 | while read -r i; do \ if [ `git grep -c "$i" |wc -l` -gt 1 ]; then \ echo "removing" $i; \ sed -i "/${i}/d" arch/arm/mach-omap2/dma.h; \ fi; \ done Signed-off-by: Jarkko Nikula Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed