-
Notifications
You must be signed in to change notification settings - Fork 54.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
media: move videobuf2 to drivers/media/common
Now that VB2 is used by both V4L2 and DVB core, move it to the common part of the subsystem. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
- Loading branch information
Showing
13 changed files
with
40 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
obj-y += b2c2/ saa7146/ siano/ v4l2-tpg/ | ||
obj-y += b2c2/ saa7146/ siano/ v4l2-tpg/ videobuf/ | ||
obj-$(CONFIG_VIDEO_CX2341X) += cx2341x.o | ||
obj-$(CONFIG_VIDEO_TVEEPROM) += tveeprom.o | ||
obj-$(CONFIG_CYPRESS_FIRMWARE) += cypress_firmware.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Used by drivers that need Videobuf2 modules | ||
config VIDEOBUF2_CORE | ||
select DMA_SHARED_BUFFER | ||
tristate | ||
|
||
config VIDEOBUF2_MEMOPS | ||
tristate | ||
select FRAME_VECTOR | ||
|
||
config VIDEOBUF2_DMA_CONTIG | ||
tristate | ||
depends on HAS_DMA | ||
select VIDEOBUF2_CORE | ||
select VIDEOBUF2_MEMOPS | ||
select DMA_SHARED_BUFFER | ||
|
||
config VIDEOBUF2_VMALLOC | ||
tristate | ||
select VIDEOBUF2_CORE | ||
select VIDEOBUF2_MEMOPS | ||
select DMA_SHARED_BUFFER | ||
|
||
config VIDEOBUF2_DMA_SG | ||
tristate | ||
depends on HAS_DMA | ||
select VIDEOBUF2_CORE | ||
select VIDEOBUF2_MEMOPS | ||
|
||
config VIDEOBUF2_DVB | ||
tristate | ||
select VIDEOBUF2_CORE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
obj-$(CONFIG_VIDEOBUF2_CORE) += videobuf2-core.o videobuf2-v4l2.o | ||
obj-$(CONFIG_VIDEOBUF2_MEMOPS) += videobuf2-memops.o | ||
obj-$(CONFIG_VIDEOBUF2_VMALLOC) += videobuf2-vmalloc.o | ||
obj-$(CONFIG_VIDEOBUF2_DMA_CONTIG) += videobuf2-dma-contig.o | ||
obj-$(CONFIG_VIDEOBUF2_DMA_SG) += videobuf2-dma-sg.o | ||
obj-$(CONFIG_VIDEOBUF2_DVB) += videobuf2-dvb.o |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters