summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/fsp_rangeley/lpc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel/fsp_rangeley/lpc.c')
-rw-r--r--src/southbridge/intel/fsp_rangeley/lpc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/intel/fsp_rangeley/lpc.c b/src/southbridge/intel/fsp_rangeley/lpc.c
index ba5e04bd3c..af2e411584 100644
--- a/src/southbridge/intel/fsp_rangeley/lpc.c
+++ b/src/southbridge/intel/fsp_rangeley/lpc.c
@@ -421,10 +421,10 @@ static void southbridge_inject_dsdt(struct device *dev)
if (gnvs) {
memset(gnvs, 0, sizeof(*gnvs));
acpi_create_gnvs(gnvs);
-#if CONFIG(HAVE_SMI_HANDLER)
+
/* And tell SMI about it */
- smm_setup_structures(gnvs, NULL, NULL);
-#endif
+ if (CONFIG(HAVE_SMI_HANDLER))
+ smm_setup_structures(gnvs, NULL, NULL);
/* Add it to DSDT. */
acpigen_write_scope("\\");