Re: [PATCH] [media] use pci_dev->revision

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/21/11 07:35, BjÃrn Mork wrote:
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@xxxxxxxxx>
Signed-off-by: BjÃrn Mork<bjorn@xxxxxxx>
---
I assume some of these drivers could have the revision
removed from their driver specific structures as well, but
I haven't done that to avoid unnecessary ABI changes.

  drivers/media/common/saa7146_core.c        |    7 +------
  drivers/media/dvb/b2c2/flexcop-pci.c       |    4 +---
  drivers/media/dvb/bt8xx/bt878.c            |    2 +-
  drivers/media/dvb/mantis/mantis_pci.c      |    5 ++---
  drivers/media/video/bt8xx/bttv-driver.c    |    2 +-
  drivers/media/video/cx18/cx18-driver.c     |    2 +-
  drivers/media/video/cx23885/cx23885-core.c |    2 +-
  drivers/media/video/cx88/cx88-mpeg.c       |    2 +-
  drivers/media/video/cx88/cx88-video.c      |    2 +-
  drivers/media/video/ivtv/ivtv-driver.c     |    4 +---
  drivers/media/video/saa7134/saa7134-core.c |    2 +-
  drivers/media/video/saa7164/saa7164-core.c |    2 +-
  drivers/media/video/zoran/zoran_card.c     |    2 +-
  13 files changed, 14 insertions(+), 24 deletions(-)

looks great, thanks for picking up this (overdue) cleanup :)

Auke
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Input]     [Video for Linux]     [Gstreamer Embedded]     [Mplayer Users]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]
  Powered by Linux