summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuennadi Liakhovetski <g.liakhovetski@pengutronix.de>2008-04-22 14:42:06 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-04-24 14:07:43 -0300
commit6d43cec87f9d9679a5c4adca7935dc8cf207f6ce (patch)
treedde41aa81ab25765277f3004825e440ed216aa65
parentab6c46e24a3c89c1e2d0d3959e119583e1bc92d9 (diff)
V4L/DVB (7196): Lift videobuf-dma-sg's PCI dependency, until it is fixed
videobuf-dma-sg.c should be converted to the generic DMA API to make it also useful for non-PCI configurations. Even now it can be used thanks to compatibility macros in include/asm-generic/pci-dma-compat.h. This has been verified to work on PXA270 CPU with the pxa_camera.c soc-camera driver. For this the following temporary work-around is needed. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r--drivers/media/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 408838418d04..a86504587447 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -160,7 +160,7 @@ config VIDEOBUF_GEN
tristate
config VIDEOBUF_DMA_SG
- depends on PCI
+ depends on PCI || ARCH_PXA
select VIDEOBUF_GEN
tristate