diff options
author | Andrew Morton <akpm@osdl.org> | 2007-02-06 19:51:14 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-21 10:35:16 -0500 |
commit | 7a9ca4a3f99129c2316ee14273ded519630c573d (patch) | |
tree | 48979fd4c3be6e405a95ba8b87845e5ed586f94d | |
parent | 346304097b47a6e1376d99af80dbffb759fa55f4 (diff) |
V4L/DVB (5196): VIDEO_BUF depends on PCI
m68k allmodconfig:
drivers/media/video/video-buf.c: In function 'videobuf_queue_pci':
drivers/media/video/video-buf.c:396: error: 'pci_map_sg' undeclared (first use in this function)
drivers/media/video/video-buf.c:396: error: (Each undeclared identifier is reported only once
drivers/media/video/video-buf.c:396: error: for each function it appears in.)
drivers/media/video/video-buf.c:399: error: 'pci_dma_sync_sg_for_cpu' undeclared (first use in this function)
drivers/media/video/video-buf.c:401: error: 'pci_unmap_sg' undeclared (first use in this function)
drivers/media/video/video-buf.c: In function 'videobuf_pci_dma_map':
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rw-r--r-- | drivers/media/Kconfig | 1 | ||||
-rw-r--r-- | drivers/media/video/Kconfig | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/Kconfig b/drivers/media/Kconfig index 87410dbd3df4..91d25798ae4a 100644 --- a/drivers/media/Kconfig +++ b/drivers/media/Kconfig | |||
@@ -70,6 +70,7 @@ config VIDEO_TUNER | |||
70 | depends on I2C | 70 | depends on I2C |
71 | 71 | ||
72 | config VIDEO_BUF | 72 | config VIDEO_BUF |
73 | depends on PCI | ||
73 | tristate | 74 | tristate |
74 | 75 | ||
75 | config VIDEO_BUF_DVB | 76 | config VIDEO_BUF_DVB |
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index 57357db31b8a..7a6105153f23 100644 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig | |||
@@ -342,7 +342,7 @@ endmenu # encoder / decoder chips | |||
342 | 342 | ||
343 | config VIDEO_VIVI | 343 | config VIDEO_VIVI |
344 | tristate "Virtual Video Driver" | 344 | tristate "Virtual Video Driver" |
345 | depends on VIDEO_V4L2 && !SPARC32 && !SPARC64 | 345 | depends on VIDEO_V4L2 && !SPARC32 && !SPARC64 && PCI |
346 | select VIDEO_BUF | 346 | select VIDEO_BUF |
347 | default n | 347 | default n |
348 | ---help--- | 348 | ---help--- |