summaryrefslogtreecommitdiff
path: root/drivers/media/pci/cx25821/cx25821-cards.c
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2013-04-13 11:01:31 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-04-16 21:03:27 (GMT)
commit89c21389f2a48afb2fb24fdf74433950cb9b19a2 (patch)
tree8040807314c865a8ff810103a281be5a96d20faa /drivers/media/pci/cx25821/cx25821-cards.c
parentde9ea4cf7fd875460646f97c1f8addafe0454180 (diff)
downloadlinux-fsl-qoriq-89c21389f2a48afb2fb24fdf74433950cb9b19a2.tar.xz
[media] cx25821: remove bogus dependencies
This driver doesn't use DVB, RC, cx25840 or tveeprom. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/pci/cx25821/cx25821-cards.c')
-rw-r--r--drivers/media/pci/cx25821/cx25821-cards.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/drivers/media/pci/cx25821/cx25821-cards.c b/drivers/media/pci/cx25821/cx25821-cards.c
index c09ec68..2b2f1f4 100644
--- a/drivers/media/pci/cx25821/cx25821-cards.c
+++ b/drivers/media/pci/cx25821/cx25821-cards.c
@@ -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));
- }
-}