summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cpia2
diff options
context:
space:
mode:
authorTrent Piepho <xyzzy@speakeasy.org>2007-07-20 00:42:46 -0700
committerTrent Piepho <xyzzy@speakeasy.org>2007-07-20 00:42:46 -0700
commit8a55acadcb3c75ee7a84683f612607957468a132 (patch)
tree858a45701bfb75927010d02369cac493cfd4b5ee /linux/drivers/media/video/cpia2
parent1079247820cf7d49cc44f78477fd0da737fbabd5 (diff)
downloadmediapointer-dvb-s2-8a55acadcb3c75ee7a84683f612607957468a132.tar.gz
mediapointer-dvb-s2-8a55acadcb3c75ee7a84683f612607957468a132.tar.bz2
compat: keep printing pci revision on older kernels
From: Trent Piepho <xyzzy@speakeasy.org> In 2.6.23, there is a new struct pci_dev->revision field to get the pci revision. A couple drivers now use this to print the revision and on old kernels don't print it anymore. This patch adds a simple function to get the revision to compat.h to make it easy for the backward compay code to keep printing the revision like is used too. Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'linux/drivers/media/video/cpia2')
0 files changed, 0 insertions, 0 deletions