]> git.baikalelectronics.ru Git - kernel.git/commit
lanai: use pci_dev->subsystem_device
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Tue, 12 Jul 2011 14:59:38 +0000 (07:59 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 12 Jul 2011 14:59:38 +0000 (07:59 -0700)
commitc03c797b8a116ec93559b739279ffdb1a73bbcc2
tree48a7381ba0dea3f9cf6a0e3b12310908f01a56d9
parent7eaa8373a02123aa54483d693908c1cf0000d10d
lanai: use pci_dev->subsystem_device

The driver reads PCI subsystem IDs from the PCI configuration registers while
it is already stored by the PCI subsystem in the 'subsystem_device' field of
'struct pci_dev'...

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/lanai.c