aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/bt8xx/bt878.h
diff options
context:
space:
mode:
authorAkinobu Mita <akinobu.mita@gmail.com>2008-01-21 12:15:19 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-01-25 19:05:22 -0200
commit386900781205d203c1141d3e2dae759f1b531193 (patch)
tree2bad1d976d3ce0cfb33766b3ed4cf9613a131a70 /drivers/media/dvb/bt8xx/bt878.h
parentV4L/DVB (7075): Make a local function static (diff)
downloadlinux-dev-386900781205d203c1141d3e2dae759f1b531193.tar.xz
linux-dev-386900781205d203c1141d3e2dae759f1b531193.zip
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 '')
-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 @@
#define BTTV_BOARD_DVICO_DVBT_LITE 0x80
#define BTTV_BOARD_DVICO_FUSIONHDTV_5_LITE 0x87
-struct cards {
- __u32 pci_id;
- __u16 card_id;
- char *name;
-};
-
extern int bt878_num;
struct bt878 {