summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-02-11 21:08:12 +0000
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-02-11 21:08:12 +0000
commit4e1fb6e4fc1c61531db960676cee59c17496e2ea (patch)
tree830626e3ef832c90ed85c0641ce444b26616afd0
parent3aed2dda85beece8f89e78d6a8412ec245a9b224 (diff)
downloadmediapointer-dvb-s2-4e1fb6e4fc1c61531db960676cee59c17496e2ea.tar.gz
mediapointer-dvb-s2-4e1fb6e4fc1c61531db960676cee59c17496e2ea.tar.bz2
Lift videobuf-dma-sg's PCI dependency, until it is fixed
From: Guennadi Liakhovetski <g.liakhovetski@pengutronix.de> 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--linux/drivers/media/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/Kconfig b/linux/drivers/media/Kconfig
index 71820ef4f..6ea1a01d0 100644
--- a/linux/drivers/media/Kconfig
+++ b/linux/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