]> git.baikalelectronics.ru Git - kernel.git/commit
sbni: use pci_dev->subsystem_device
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 22 Jul 2011 05:50:25 +0000 (05:50 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 23 Jul 2011 00:01:12 +0000 (17:01 -0700)
commitff509bd1e0f8aec2568eb8d76699a155f936612b
tree7740c40ddf8bcccaf81788c785781a10c618d545
parent6d82be7fc2d5cae0991475effe9f2f83d9024428
sbni: use pci_dev->subsystem_device

The driver reads PCI subsystem ID from the PCI configuration register while it's
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/net/wan/sbni.c