]> git.baikalelectronics.ru Git - kernel.git/commit
ssb: use pci_dev->subsystem_{vendor,device}
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 1 Jul 2011 18:34:42 +0000 (22:34 +0400)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 5 Jul 2011 19:32:54 +0000 (15:32 -0400)
commite6826a9c9a43737d14ca6bbc4006d373df3ef6e6
tree15a8bd2786023879964864078bc4d68777054eea
parentcaeb4f244105df1b7f04810459418d21d131d5e9
ssb: use pci_dev->subsystem_{vendor,device}

The SSB code reads PCI subsystem IDs from the PCI configuration registers while
they are already stored by the PCI subsystem in the 'subsystem_{vendor|device}'
fields 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