From 64f38acc29a82cc72ed5201e71e49b0fa785409b Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Sat, 30 Jul 2016 13:08:32 +0200 Subject: siemens/sitemp_g1p1: Fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I1c9af223d3598c4822905acce0cf9b1dca6ad1b6 Signed-off-by: Patrick Georgi Found-by: Coverity Scan #1287066 Reviewed-on: https://review.coreboot.org/15981 Tested-by: build bot (Jenkins) Reviewed-by: Paul Menzel Reviewed-by: Kyösti Mälkki Reviewed-by: Werner Zeh --- src/mainboard/siemens/sitemp_g1p1/mainboard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mainboard/siemens') diff --git a/src/mainboard/siemens/sitemp_g1p1/mainboard.c b/src/mainboard/siemens/sitemp_g1p1/mainboard.c index 810f7e01fd..f01420f928 100644 --- a/src/mainboard/siemens/sitemp_g1p1/mainboard.c +++ b/src/mainboard/siemens/sitemp_g1p1/mainboard.c @@ -740,7 +740,7 @@ static void detect_hw_variant( device_t dev ) } // restore changes made for device 2 dev2->bus->secondary = secondary; - dev2->bus->secondary = subordinate; + dev2->bus->subordinate = subordinate; pci_write_config32(dev2, PCI_PRIMARY_BUS, pci_primary_bus); } break; -- cgit v1.2.3