From: Tony Lindgren Date: Tue, 30 Oct 2012 18:03:22 +0000 (-0700) Subject: ARM: OMAP: Remove cpu_is_omap usage from plat-omap/dma.c X-Git-Tag: omap-for-v3.8/cleanup-headers-prepare-multiplatform-v3-signed~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8280960181eae6e4039957044577b6ef7154220f;p=pandora-kernel.git ARM: OMAP: Remove cpu_is_omap usage from plat-omap/dma.c This code will be eventually in drivers, and for the code in the drivers we don't want to have any cpu_is_omap usage. Those macros should be private to arch/arm/mach-omap1 and arch/arm/mach-omap2. To fix this, let's move the define for dma_omap2plus() to dma-omap.h, and use the existing dma_attr passed in the platform_data as the revision registers are what they are. Note that we can now also remove the relative includes introduced by the recent clean-up patches. Cc: Russell King Cc: Vinod Koul Cc: Lokesh Vutla Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed