diff options
-rw-r--r-- | src/northbridge/intel/gm45/northbridge.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/northbridge/intel/gm45/northbridge.c b/src/northbridge/intel/gm45/northbridge.c index 76ca4eea9d..67fcfddf32 100644 --- a/src/northbridge/intel/gm45/northbridge.c +++ b/src/northbridge/intel/gm45/northbridge.c @@ -13,6 +13,7 @@ #include <device/device.h> #include <device/pci_def.h> #include <device/pci_ops.h> +#include <static.h> #include <stdint.h> #include "chip.h" @@ -239,7 +240,6 @@ struct chip_operations northbridge_intel_gm45_ops = { bool northbridge_support_slfm(void) { - struct device *gmch = __pci_0_00_0; - struct northbridge_intel_gm45_config *config = gmch->chip_info; + struct northbridge_intel_gm45_config *config = config_of_soc(); return config->slfm == 1; } |