Skip to content

Commit b2c20f2

Browse files
committed
media: cx231xx: get rid of videobuf-dvb dependency
This driver doesn't use videobuf-dvb. So, stop adding an unused struct and unused header on it. Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
1 parent 1a0c10e commit b2c20f2

3 files changed

Lines changed: 5 additions & 5 deletions

File tree

‎drivers/media/usb/cx231xx/Kconfig‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ config VIDEO_CX231XX_ALSA
4242
config VIDEO_CX231XX_DVB
4343
tristate "DVB/ATSC Support for Cx231xx based TV cards"
4444
depends on VIDEO_CX231XX && DVB_CORE
45-
select VIDEOBUF_DVB
4645
select MEDIA_TUNER_XC5000 if MEDIA_SUBDRV_AUTOSELECT
4746
select MEDIA_TUNER_TDA18271 if MEDIA_SUBDRV_AUTOSELECT
4847
select DVB_MB86A20S if MEDIA_SUBDRV_AUTOSELECT

‎drivers/media/usb/cx231xx/cx231xx-dvb.c‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,12 @@
2323
#include <linux/kernel.h>
2424
#include <linux/slab.h>
2525

26+
#include <media/dvbdev.h>
27+
#include <media/dmxdev.h>
28+
#include <media/dvb_demux.h>
29+
#include <media/dvb_net.h>
30+
#include <media/dvb_frontend.h>
2631
#include <media/v4l2-common.h>
27-
#include <media/videobuf-vmalloc.h>
2832
#include <media/tuner.h>
2933

3034
#include "xc5000.h"

‎drivers/media/usb/cx231xx/cx231xx.h‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@
3838
#include <media/v4l2-fh.h>
3939
#include <media/rc-core.h>
4040
#include <media/i2c/ir-kbd-i2c.h>
41-
#include <media/videobuf-dvb.h>
4241

4342
#include "cx231xx-reg.h"
4443
#include "cx231xx-pcb-cfg.h"
@@ -546,8 +545,6 @@ struct cx231xx_tsport {
546545
int nr;
547546
int sram_chno;
548547

549-
struct videobuf_dvb_frontends frontends;
550-
551548
/* dma queues */
552549

553550
u32 ts_packet_size;

0 commit comments

Comments
 (0)