aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/common/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/southbridge/intel/common/gpio.c')
-rw-r--r--src/southbridge/intel/common/gpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/southbridge/intel/common/gpio.c b/src/southbridge/intel/common/gpio.c
index 0669b5fcca..9731d75086 100644
--- a/src/southbridge/intel/common/gpio.c
+++ b/src/southbridge/intel/common/gpio.c
@@ -35,7 +35,7 @@
static u16 get_gpio_base(void)
{
-#if defined(__SMM__)
+#ifdef __SIMPLE_DEVICE__
/* Don't assume GPIO_BASE is still the same */
return pci_read_config16(PCH_LPC_DEV, GPIO_BASE) & 0xfffe;
#else