]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
media: cx231xx: get rid of videobuf-dvb dependency
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Fri, 9 Mar 2018 08:30:47 +0000 (03:30 -0500)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Fri, 4 May 2018 14:56:57 +0000 (10:56 -0400)
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>
drivers/media/usb/cx231xx/Kconfig
drivers/media/usb/cx231xx/cx231xx-dvb.c
drivers/media/usb/cx231xx/cx231xx.h

index 6276d9b2198b6e72ce33a31336feea39ecb8a644..7ba05a10b36d08f93f20c9bb6957fc5b9eccf60f 100644 (file)
@@ -42,7 +42,6 @@ config VIDEO_CX231XX_ALSA
 config VIDEO_CX231XX_DVB
        tristate "DVB/ATSC Support for Cx231xx based TV cards"
        depends on VIDEO_CX231XX && DVB_CORE
-       select VIDEOBUF_DVB
        select MEDIA_TUNER_XC5000 if MEDIA_SUBDRV_AUTOSELECT
        select MEDIA_TUNER_TDA18271 if MEDIA_SUBDRV_AUTOSELECT
        select DVB_MB86A20S if MEDIA_SUBDRV_AUTOSELECT
index 67ed66712d058c6676001bcb3226c31d6fb9cfc3..04738fbdfd1a74289403237f253d0c606900d7ff 100644 (file)
 #include <linux/kernel.h>
 #include <linux/slab.h>
 
+#include <media/dvbdev.h>
+#include <media/dmxdev.h>
+#include <media/dvb_demux.h>
+#include <media/dvb_net.h>
+#include <media/dvb_frontend.h>
 #include <media/v4l2-common.h>
-#include <media/videobuf-vmalloc.h>
 #include <media/tuner.h>
 
 #include "xc5000.h"
index 6ffa4bd96484ec520cb3af0b54b2f41b44d94d1f..fa640bf201115ff06ea5b6a49e14c3aac85662ea 100644 (file)
@@ -38,7 +38,6 @@
 #include <media/v4l2-fh.h>
 #include <media/rc-core.h>
 #include <media/i2c/ir-kbd-i2c.h>
-#include <media/videobuf-dvb.h>
 
 #include "cx231xx-reg.h"
 #include "cx231xx-pcb-cfg.h"
@@ -546,8 +545,6 @@ struct cx231xx_tsport {
        int                        nr;
        int                        sram_chno;
 
-       struct videobuf_dvb_frontends frontends;
-
        /* dma queues */
 
        u32                        ts_packet_size;