[media] use pci_dev->revision
authorBjørn Mork <bjorn@mork.no>
Mon, 21 Mar 2011 14:35:56 +0000 (11:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 20 May 2011 10:26:16 +0000 (07:26 -0300)
commitabd34d8d6b213c792c1a06fd75488595c5fb6d3f
treed5aa6d8081e8bb7ad152153f28e29f472fe4e304
parentec0c8d555a93aa7e2c5c4f11f12686e5b2245696
[media] use pci_dev->revision

pci_setup_device() has saved the PCI revision in the pci_dev
struct since Linux 2.6.23.  Use it.

Cc: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
13 files changed:
drivers/media/common/saa7146_core.c
drivers/media/dvb/b2c2/flexcop-pci.c
drivers/media/dvb/bt8xx/bt878.c
drivers/media/dvb/mantis/mantis_pci.c
drivers/media/video/bt8xx/bttv-driver.c
drivers/media/video/cx18/cx18-driver.c
drivers/media/video/cx23885/cx23885-core.c
drivers/media/video/cx88/cx88-mpeg.c
drivers/media/video/cx88/cx88-video.c
drivers/media/video/ivtv/ivtv-driver.c
drivers/media/video/saa7134/saa7134-core.c
drivers/media/video/saa7164/saa7164-core.c
drivers/media/video/zoran/zoran_card.c