Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89c21389 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

[media] cx25821: remove bogus dependencies



This driver doesn't use DVB, RC, cx25840 or tveeprom.

Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent de9ea4cf
Loading
Loading
Loading
Loading
+1 −6
Original line number Diff line number Diff line
config VIDEO_CX25821
	tristate "Conexant cx25821 support"
	depends on DVB_CORE && VIDEO_DEV && PCI && I2C
	depends on VIDEO_DEV && PCI && I2C
	select I2C_ALGOBIT
	select VIDEO_BTCX
	select VIDEO_TVEEPROM
	depends on RC_CORE
	select VIDEOBUF_DVB
	select VIDEOBUF_DMA_SG
	select VIDEO_CX25840
	select VIDEO_CX2341X
	---help---
	  This is a video4linux driver for Conexant 25821 based
	  TV cards.
+0 −3
Original line number Diff line number Diff line
@@ -9,6 +9,3 @@ obj-$(CONFIG_VIDEO_CX25821_ALSA) += cx25821-alsa.o

ccflags-y += -Idrivers/media/i2c
ccflags-y += -Idrivers/media/common
ccflags-y += -Idrivers/media/tuners
ccflags-y += -Idrivers/media/dvb-core
ccflags-y += -Idrivers/media/dvb-frontends
+0 −21
Original line number Diff line number Diff line
@@ -26,8 +26,6 @@
#include <linux/init.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <media/cx25840.h>

#include "cx25821.h"

@@ -50,22 +48,3 @@ struct cx25821_board cx25821_boards[] = {
};

const unsigned int cx25821_bcount = ARRAY_SIZE(cx25821_boards);

struct cx25821_subid cx25821_subids[] = {
	{
		.subvendor = 0x14f1,
		.subdevice = 0x0920,
		.card = CX25821_BOARD,
	},
};

void cx25821_card_setup(struct cx25821_dev *dev)
{
	static u8 eeprom[256];

	if (dev->i2c_bus[0].i2c_rc == 0) {
		dev->i2c_bus[0].i2c_client.addr = 0xa0 >> 1;
		tveeprom_read(&dev->i2c_bus[0].i2c_client, eeprom,
				sizeof(eeprom));
	}
}
+0 −2
Original line number Diff line number Diff line
@@ -953,8 +953,6 @@ static int cx25821_dev_setup(struct cx25821_dev *dev)
	CX25821_INFO("i2c register! bus->i2c_rc = %d\n",
			dev->i2c_bus[0].i2c_rc);

	cx25821_card_setup(dev);

	if (medusa_video_init(dev) < 0)
		CX25821_ERR("%s(): Failed to initialize medusa!\n", __func__);

+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
 *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */

#include <linux/module.h>
#include "cx25821.h"

/********************* GPIO stuffs *********************/
Loading