Re: [PATCH 3/8] ARM: OMAP2+: hwmod: Remove remaining DMA channel definitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 15 Jun 2013, Jarkko Nikula wrote:

> 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@xxxxxxxxxx>
> Cc: Paul Walmsley <paul@xxxxxxxxx>

Looks fine to me for v3.12.  I guess Tony will take this series.

Acked-by: Paul Walmsley <paul@xxxxxxxxx>


- Paul
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux