Commit 2fa23190 authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by John W. Linville
Browse files

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

Signed-off-by: default avatarSergei Shtylyov <>
Signed-off-by: default avatarJohn W. Linville <>
parent 73e6cdcf
......@@ -738,8 +738,7 @@ static void ssb_pci_get_boardinfo(struct ssb_bus *bus,
pci_read_config_word(bus->host_pci, PCI_SUBSYSTEM_ID,
pci_read_config_byte(bus->host_pci, PCI_REVISION_ID,
bi->rev = bus->host_pci->revision;
int ssb_pci_get_invariants(struct ssb_bus *bus,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment