summaryrefslogtreecommitdiffstats
path: root/drivers/media/platform/omap3isp/isphist.c
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2012-10-15 14:03:51 -0700
committerTony Lindgren <tony@atomide.com>2012-10-15 14:03:51 -0700
commitd5e7c864f386306587f7f43ed22d48ef7e4050d6 (patch)
treeee0188a3e164efaf325c120565987bc35920b5f8 /drivers/media/platform/omap3isp/isphist.c
parent8c4cc00552664d0be259388f2b1a49036c3757fa (diff)
downloadlinux-d5e7c864f386306587f7f43ed22d48ef7e4050d6.tar.bz2
ARM: OMAP2+: DMA: Moving OMAP2+ DMA channel definitions to mach-omap2
Similar to omap1, some of the omap2+ dma channel definitions are used by some drivers. For moving omap2+ dma channel definitions to mach-omap2/, the used ones should be defined locally to driver. Drivers can eliminate it using DT, platform data, or IORESOURCE_DMA And moving omap2+ DMA channel definitions to mach-omap2 Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/media/platform/omap3isp/isphist.c')
-rw-r--r--drivers/media/platform/omap3isp/isphist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/platform/omap3isp/isphist.c b/drivers/media/platform/omap3isp/isphist.c
index d1a8dee5e1ca..e7f9c4292cc6 100644
--- a/drivers/media/platform/omap3isp/isphist.c
+++ b/drivers/media/platform/omap3isp/isphist.c
@@ -34,6 +34,8 @@
#include "ispreg.h"
#include "isphist.h"
+#define OMAP24XX_DMA_NO_DEVICE 0
+
#define HIST_CONFIG_DMA 1
#define HIST_USING_DMA(hist) ((hist)->dma_ch >= 0)