]> git.karo-electronics.de Git - linux-beck.git/commit
V4L/DVB (6068): cx88-alsa: Use pci_dev->revision
authorTrent Piepho <xyzzy@speakeasy.org>
Sun, 19 Aug 2007 01:54:49 +0000 (22:54 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Wed, 10 Oct 2007 01:06:00 +0000 (22:06 -0300)
commit19453bc18848e842a9743fcc40707e6fb19ae92b
tree84497c94e348de301a8cf9be7cb9e659bd19a54f
parent5a5b3b5d4fe3acdd9fb73162023422a9ee0e56f3
V4L/DVB (6068): cx88-alsa: Use pci_dev->revision

The revision is part of the pci_dev struct, so there is no need to read it in.

Stop storing the revision and latency in the chip struct, since they're never
used after being printed out when the driver loads.

linux/pci.h wasn't included.  It was getting picked up something else,
probably cx88.h, but this file uses struct pci_dev so it should include pci.h.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/cx88/cx88-alsa.c