aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/bt8xx/bt878.h
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2008-01-21 10:15:19 -0500
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 16:05:22 -0500
commit386900781205d203c1141d3e2dae759f1b531193 (patch)
tree2bad1d976d3ce0cfb33766b3ed4cf9613a131a70 /drivers/media/dvb/bt8xx/bt878.h
parent4a2b108379743405bc488eaef6a75080aa1bbba4 (diff)
V4L/DVB (7077): bt878: remove handcrafted PCI subsystem ID check
This patch moves the subsystem ID and subsystem vendor ID check from probing function to the PCI generic function by describing subsystem IDs in pci_device_id table. This enables to add new PCI IDs to a device driver pci_ids table at runtime by new_id file in sysfs pci driver tree. Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com> Signed-off-by: Manu Abraham <manu@linuxtv.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/dvb/bt8xx/bt878.h')
-rw-r--r--drivers/media/dvb/bt8xx/bt878.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/media/dvb/bt8xx/bt878.h b/drivers/media/dvb/bt8xx/bt878.h
index d593bc145628..375fd2892a11 100644
--- a/drivers/media/dvb/bt8xx/bt878.h
+++ b/drivers/media/dvb/bt8xx/bt878.h
@@ -101,12 +101,6 @@
101#define BTTV_BOARD_DVICO_DVBT_LITE 0x80 101#define BTTV_BOARD_DVICO_DVBT_LITE 0x80
102#define BTTV_BOARD_DVICO_FUSIONHDTV_5_LITE 0x87 102#define BTTV_BOARD_DVICO_FUSIONHDTV_5_LITE 0x87
103 103
104struct cards {
105 __u32 pci_id;
106 __u16 card_id;
107 char *name;
108};
109
110extern int bt878_num; 104extern int bt878_num;
111 105
112struct bt878 { 106struct bt878 {