diff options
author | Jarkko Nikula <jarkko.nikula@bitmer.com> | 2013-06-15 11:31:04 +0300 |
---|---|---|
committer | Tony Lindgren <tony@atomide.com> | 2013-06-18 00:11:59 -0700 |
commit | 0fd8824fab0c7eb31f8c000ab86cd9e6326b791f (patch) | |
tree | ca5a88995a14a0dff5c397d39ff634efae3e215d /arch/arm/mach-omap2/devices.c | |
parent | 9bd5b2753964e69edef4dac66ea9b21ac2b3d149 (diff) | |
download | blackbird-op-linux-0fd8824fab0c7eb31f8c000ab86cd9e6326b791f.tar.gz blackbird-op-linux-0fd8824fab0c7eb31f8c000ab86cd9e6326b791f.zip |
ARM: OMAP2+: hwmod: Remove remaining DMA channel definitions
Last remaining DMA channel definitions in arch/arm/mach-omap2/dma.h
are used only by omap_hwmod_2xxx_3xxx_ipblock_data.c and
omap_hwmod_3xxx_data.c. Remove them by using directly DMA channel number in
hwmod data and drop definitions with a following script:
egrep '#define [OMAP|AM35XX].*DMA' arch/arm/mach-omap2/dma.h | cut -f 1,3 \
| while read i; do \
DEF=`echo $i |cut -d ' ' -f 2`; \
CH=`echo $i |cut -d ' ' -f 3`; \
echo "removing" $DEF; \
sed -i "s/${DEF}/${CH}/" arch/arm/mach-omap2/omap_hwmod_*.c; \
sed -i "/${DEF}/d" arch/arm/mach-omap2/dma.h; \
done
Signed-off-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Acked-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/devices.c')
0 files changed, 0 insertions, 0 deletions