]> git.baikalelectronics.ru Git - kernel.git/commit
ssb: use pci_dev->revision
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 1 Jul 2011 18:33:08 +0000 (22:33 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jul 2011 19:32:23 +0000 (15:32 -0400)
commitcaeb4f244105df1b7f04810459418d21d131d5e9
treed39cbed6eb8ab3b83bbd1eb03771da8c85ae7f0a
parenta9af78ea8e6ef86c8bd1cf1b41457f1ed660e6f1
ssb: use pci_dev->revision

The SSB code reads PCI revision ID from the PCI configuration register while
it's already stored by the PCI subsystem in the 'revision' field  of 'struct
pci_dev'...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/ssb/pci.c