diff options
author | Jarkko Nikula <jarkko.nikula@bitmer.com> | 2013-06-15 11:31:03 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-06-18 00:11:59 -0700 |
commit | 9bd5b2753964e69edef4dac66ea9b21ac2b3d149 (patch) | |
tree | 402427a75a3930848b9adab08c503620e9e2d3ea /lib/atomic64.c | |
parent | 50a43f0fa9eb1ff8da930f6254bc16519e827922 (diff) | |
download | linux-9bd5b2753964e69edef4dac66ea9b21ac2b3d149.tar.gz linux-9bd5b2753964e69edef4dac66ea9b21ac2b3d149.tar.bz2 linux-9bd5b2753964e69edef4dac66ea9b21ac2b3d149.zip |
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 <jarkko.nikula@bitmer.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'lib/atomic64.c')
0 files changed, 0 insertions, 0 deletions