[PATCH] Lift videobuf-dma-sg's PCI dependency, until it is fixed
- Date: Mon, 11 Feb 2008 22:08:12 +0100 (CET)
- From: Guennadi Liakhovetski <g.liakhovetski@xxxxxxxxxxxxxx>
- Subject: [PATCH] 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@xxxxxxxxxxxxxx>
---
Mauro, the patch, linking lib/scatterlist.o into vmlinux unconditionally
has been sent by Andrew to Linus. So, now we are safe with the below
patch.
drivers/media/Kconfig | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig
index 8f4a453..434db75 100644
--- a/drivers/media/Kconfig
+++ b/drivers/media/Kconfig
@@ -150,7 +150,7 @@ config VIDEOBUF_GEN
tristate
config VIDEOBUF_DMA_SG
- depends on PCI
+ depends on PCI || ARCH_PXA
select VIDEOBUF_GEN
tristate
--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list