-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[media] v4l: move v4l2 core into a separate directory
Currently, the v4l2 core is mixed together with other non-core drivers. Move them into a separate directory. Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
- Loading branch information
Mauro Carvalho Chehab
committed
Aug 14, 2012
1 parent
2ea4b44
commit 5bc3cb7
Showing
28 changed files
with
97 additions
and
84 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
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,60 @@ | ||
# | ||
# Generic video config states | ||
# | ||
|
||
config VIDEO_V4L2 | ||
tristate | ||
depends on VIDEO_DEV && VIDEO_V4L2_COMMON | ||
default y | ||
|
||
config VIDEOBUF_GEN | ||
tristate | ||
|
||
config VIDEOBUF_DMA_SG | ||
depends on HAS_DMA | ||
select VIDEOBUF_GEN | ||
tristate | ||
|
||
config VIDEOBUF_VMALLOC | ||
select VIDEOBUF_GEN | ||
tristate | ||
|
||
config VIDEOBUF_DMA_CONTIG | ||
depends on HAS_DMA | ||
select VIDEOBUF_GEN | ||
tristate | ||
|
||
config VIDEOBUF_DVB | ||
tristate | ||
select VIDEOBUF_GEN | ||
|
||
config VIDEO_TUNER | ||
tristate | ||
depends on MEDIA_TUNER | ||
|
||
config V4L2_MEM2MEM_DEV | ||
tristate | ||
depends on VIDEOBUF2_CORE | ||
|
||
config VIDEOBUF2_CORE | ||
tristate | ||
|
||
config VIDEOBUF2_MEMOPS | ||
tristate | ||
|
||
config VIDEOBUF2_DMA_CONTIG | ||
select VIDEOBUF2_CORE | ||
select VIDEOBUF2_MEMOPS | ||
tristate | ||
|
||
config VIDEOBUF2_VMALLOC | ||
select VIDEOBUF2_CORE | ||
select VIDEOBUF2_MEMOPS | ||
tristate | ||
|
||
config VIDEOBUF2_DMA_SG | ||
#depends on HAS_DMA | ||
select VIDEOBUF2_CORE | ||
select VIDEOBUF2_MEMOPS | ||
tristate | ||
|
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,35 @@ | ||
# | ||
# Makefile for the V4L2 core | ||
# | ||
|
||
tuner-objs := tuner-core.o | ||
|
||
videodev-objs := v4l2-dev.o v4l2-ioctl.o v4l2-device.o v4l2-fh.o \ | ||
v4l2-event.o v4l2-ctrls.o v4l2-subdev.o | ||
ifeq ($(CONFIG_COMPAT),y) | ||
videodev-objs += v4l2-compat-ioctl32.o | ||
endif | ||
|
||
obj-$(CONFIG_VIDEO_DEV) += videodev.o v4l2-int-device.o | ||
obj-$(CONFIG_VIDEO_V4L2_COMMON) += v4l2-common.o | ||
|
||
obj-$(CONFIG_VIDEO_TUNER) += tuner.o | ||
|
||
obj-$(CONFIG_V4L2_MEM2MEM_DEV) += v4l2-mem2mem.o | ||
|
||
obj-$(CONFIG_VIDEOBUF_GEN) += videobuf-core.o | ||
obj-$(CONFIG_VIDEOBUF_DMA_SG) += videobuf-dma-sg.o | ||
obj-$(CONFIG_VIDEOBUF_DMA_CONTIG) += videobuf-dma-contig.o | ||
obj-$(CONFIG_VIDEOBUF_VMALLOC) += videobuf-vmalloc.o | ||
obj-$(CONFIG_VIDEOBUF_DVB) += videobuf-dvb.o | ||
|
||
obj-$(CONFIG_VIDEOBUF2_CORE) += videobuf2-core.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 | ||
|
||
ccflags-y += -I$(srctree)/drivers/media/dvb/dvb-core | ||
ccflags-y += -I$(srctree)/drivers/media/dvb/frontends | ||
ccflags-y += -I$(srctree)/drivers/media/common/tuners | ||
|
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.
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.
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.
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