aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/ssb/pci.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/ssb/pci.c b/drivers/ssb/pci.c
index 3e36722b2ce..a00b35f0308 100644
--- a/drivers/ssb/pci.c
+++ b/drivers/ssb/pci.c
@@ -734,10 +734,8 @@ out_free:
734static void ssb_pci_get_boardinfo(struct ssb_bus *bus, 734static void ssb_pci_get_boardinfo(struct ssb_bus *bus,
735 struct ssb_boardinfo *bi) 735 struct ssb_boardinfo *bi)
736{ 736{
737 pci_read_config_word(bus->host_pci, PCI_SUBSYSTEM_VENDOR_ID, 737 bi->vendor = bus->host_pci->subsystem_vendor;
738 &bi->vendor); 738 bi->type = bus->host_pci->subsystem_device;
739 pci_read_config_word(bus->host_pci, PCI_SUBSYSTEM_ID,
740 &bi->type);
741 bi->rev = bus->host_pci->revision; 739 bi->rev = bus->host_pci->revision;
742} 740}
743 741