]> git.kernelconcepts.de Git - karo-tx-linux.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)
commit781223a15c510b4cb11328603bfc41ec8352f015
tree7740c40ddf8bcccaf81788c785781a10c618d545
parentccbae55e1c6dc18e95d72c044cf9345ea08abf7b
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