diff options
author | Michael Krufky <mkrufky@linuxtv.org> | 2006-03-13 22:35:07 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-21 11:53:22 -0500 |
commit | f6fe8c6a429bb44d95091e67f8e39662cd4e6fc3 (patch) | |
tree | c76a52168fde687ced2a2224c9beca5eb274616c /drivers/media | |
parent | 31dcbf994b9eda784c620c8caa3a9dc67a9d0045 (diff) |
V4L/DVB (3495): Kconfig: select VIDEO_CX25840 to build cx25840 a/v decoder module
The cx25840 module requires external firmware in order to function,
so it must select FW_LOADER, but saa7115 and saa7129 do not require it.
This patch creates VIDEO_CX25840, and alters VIDEO_DECODER to select it.
Signed-off-by: Michael Krufky <mkrufky@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/video/Kconfig | 3 | ||||
-rw-r--r-- | drivers/media/video/Makefile | 3 | ||||
-rw-r--r-- | drivers/media/video/cx25840/Kconfig | 9 | ||||
-rw-r--r-- | drivers/media/video/cx25840/Makefile | 2 |
4 files changed, 15 insertions, 2 deletions
diff --git a/drivers/media/video/Kconfig b/drivers/media/video/Kconfig index f6889f771053..a76036ff9a9c 100644 --- a/drivers/media/video/Kconfig +++ b/drivers/media/video/Kconfig | |||
@@ -359,8 +359,11 @@ config VIDEO_AUDIO_DECODER | |||
359 | config VIDEO_DECODER | 359 | config VIDEO_DECODER |
360 | tristate "Add support for additional video chipsets" | 360 | tristate "Add support for additional video chipsets" |
361 | depends on VIDEO_DEV && I2C && EXPERIMENTAL | 361 | depends on VIDEO_DEV && I2C && EXPERIMENTAL |
362 | select VIDEO_CX25840 | ||
362 | ---help--- | 363 | ---help--- |
363 | Say Y here to compile drivers for SAA7115, SAA7127 and CX25840 | 364 | Say Y here to compile drivers for SAA7115, SAA7127 and CX25840 |
364 | video decoders. | 365 | video decoders. |
365 | 366 | ||
367 | source "drivers/media/video/cx25840/Kconfig" | ||
368 | |||
366 | endmenu | 369 | endmenu |
diff --git a/drivers/media/video/Makefile b/drivers/media/video/Makefile index 87b1ce6e2050..c15f8490b365 100644 --- a/drivers/media/video/Makefile +++ b/drivers/media/video/Makefile | |||
@@ -62,6 +62,7 @@ obj-$(CONFIG_VIDEO_TVEEPROM) += tveeprom.o | |||
62 | 62 | ||
63 | obj-$(CONFIG_VIDEO_M32R_AR_M64278) += arv.o | 63 | obj-$(CONFIG_VIDEO_M32R_AR_M64278) += arv.o |
64 | 64 | ||
65 | obj-$(CONFIG_VIDEO_DECODER) += saa7115.o cx25840/ saa7127.o | 65 | obj-$(CONFIG_VIDEO_DECODER) += saa7115.o saa7127.o |
66 | obj-$(CONFIG_VIDEO_CX25840) += cx25840/ | ||
66 | 67 | ||
67 | EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core | 68 | EXTRA_CFLAGS += -I$(srctree)/drivers/media/dvb/dvb-core |
diff --git a/drivers/media/video/cx25840/Kconfig b/drivers/media/video/cx25840/Kconfig new file mode 100644 index 000000000000..854264e42ec0 --- /dev/null +++ b/drivers/media/video/cx25840/Kconfig | |||
@@ -0,0 +1,9 @@ | |||
1 | config VIDEO_CX25840 | ||
2 | tristate "Conexant CX2584x audio/video decoders" | ||
3 | depends on VIDEO_DEV && I2C && EXPERIMENTAL | ||
4 | select FW_LOADER | ||
5 | ---help--- | ||
6 | Support for the Conexant CX2584x audio/video decoders. | ||
7 | |||
8 | To compile this driver as a module, choose M here: the | ||
9 | module will be called cx25840 | ||
diff --git a/drivers/media/video/cx25840/Makefile b/drivers/media/video/cx25840/Makefile index 543ebacdc9d7..32a896c23d1e 100644 --- a/drivers/media/video/cx25840/Makefile +++ b/drivers/media/video/cx25840/Makefile | |||
@@ -1,6 +1,6 @@ | |||
1 | cx25840-objs := cx25840-core.o cx25840-audio.o cx25840-firmware.o \ | 1 | cx25840-objs := cx25840-core.o cx25840-audio.o cx25840-firmware.o \ |
2 | cx25840-vbi.o | 2 | cx25840-vbi.o |
3 | 3 | ||
4 | obj-$(CONFIG_VIDEO_DECODER) += cx25840.o | 4 | obj-$(CONFIG_VIDEO_CX25840) += cx25840.o |
5 | 5 | ||
6 | EXTRA_CFLAGS += -I$(src)/.. | 6 | EXTRA_CFLAGS += -I$(src)/.. |