summaryrefslogtreecommitdiff
path: root/drivers/gpio/gpio-loongson.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpio/gpio-loongson.c')
-rw-r--r--drivers/gpio/gpio-loongson.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/gpio/gpio-loongson.c b/drivers/gpio/gpio-loongson.c
index 00943170ce36..a42145873cc9 100644
--- a/drivers/gpio/gpio-loongson.c
+++ b/drivers/gpio/gpio-loongson.c
@@ -22,7 +22,7 @@
#define STLS2F_N_GPIO 4
#define STLS3A_N_GPIO 16
-#ifdef CONFIG_CPU_LOONGSON3
+#ifdef CONFIG_CPU_LOONGSON64
#define LOONGSON_N_GPIO STLS3A_N_GPIO
#else
#define LOONGSON_N_GPIO STLS2F_N_GPIO