summaryrefslogtreecommitdiffstats
path: root/src/mainboard/google/link/gpio.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/link/gpio.c')
-rw-r--r--src/mainboard/google/link/gpio.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/mainboard/google/link/gpio.c b/src/mainboard/google/link/gpio.c
index dcd29a33c64f..035cf6da3fa9 100644
--- a/src/mainboard/google/link/gpio.c
+++ b/src/mainboard/google/link/gpio.c
@@ -18,7 +18,7 @@
#include <southbridge/intel/common/gpio.h>
-const struct pch_gpio_set1 pch_gpio_set1_mode = {
+static const struct pch_gpio_set1 pch_gpio_set1_mode = {
.gpio0 = GPIO_MODE_GPIO, /* NMI_DBG# */
.gpio3 = GPIO_MODE_GPIO, /* ALS_INT# */
.gpio5 = GPIO_MODE_GPIO, /* SIM_DET */
@@ -35,7 +35,7 @@ const struct pch_gpio_set1 pch_gpio_set1_mode = {
.gpio28 = GPIO_MODE_GPIO, /* SLP_ME_CSW_DEV# */
};
-const struct pch_gpio_set1 pch_gpio_set1_direction = {
+static const struct pch_gpio_set1 pch_gpio_set1_direction = {
.gpio0 = GPIO_DIR_INPUT,
.gpio3 = GPIO_DIR_INPUT,
.gpio5 = GPIO_DIR_INPUT,
@@ -52,13 +52,13 @@ const struct pch_gpio_set1 pch_gpio_set1_direction = {
.gpio28 = GPIO_DIR_INPUT,
};
-const struct pch_gpio_set1 pch_gpio_set1_level = {
+static const struct pch_gpio_set1 pch_gpio_set1_level = {
.gpio1 = GPIO_LEVEL_HIGH,
.gpio6 = GPIO_LEVEL_HIGH,
.gpio24 = GPIO_LEVEL_LOW,
};
-const struct pch_gpio_set1 pch_gpio_set1_invert = {
+static const struct pch_gpio_set1 pch_gpio_set1_invert = {
.gpio7 = GPIO_INVERT,
.gpio8 = GPIO_INVERT,
.gpio12 = GPIO_INVERT,
@@ -66,7 +66,7 @@ const struct pch_gpio_set1 pch_gpio_set1_invert = {
.gpio15 = GPIO_INVERT,
};
-const struct pch_gpio_set2 pch_gpio_set2_mode = {
+static const struct pch_gpio_set2 pch_gpio_set2_mode = {
.gpio36 = GPIO_MODE_GPIO, /* W_DISABLE_L */
.gpio41 = GPIO_MODE_GPIO, /* SPD vector D0 */
.gpio42 = GPIO_MODE_GPIO, /* SPD vector D1 */
@@ -75,7 +75,7 @@ const struct pch_gpio_set2 pch_gpio_set2_mode = {
.gpio60 = GPIO_MODE_GPIO, /* DRAMRST_CNTRL_PCH */
};
-const struct pch_gpio_set2 pch_gpio_set2_direction = {
+static const struct pch_gpio_set2 pch_gpio_set2_direction = {
.gpio36 = GPIO_DIR_OUTPUT,
.gpio41 = GPIO_DIR_INPUT,
.gpio42 = GPIO_DIR_INPUT,
@@ -84,18 +84,18 @@ const struct pch_gpio_set2 pch_gpio_set2_direction = {
.gpio60 = GPIO_DIR_OUTPUT,
};
-const struct pch_gpio_set2 pch_gpio_set2_level = {
+static const struct pch_gpio_set2 pch_gpio_set2_level = {
.gpio36 = GPIO_LEVEL_HIGH,
.gpio60 = GPIO_LEVEL_HIGH,
};
-const struct pch_gpio_set3 pch_gpio_set3_mode = {
+static const struct pch_gpio_set3 pch_gpio_set3_mode = {
};
-const struct pch_gpio_set3 pch_gpio_set3_direction = {
+static const struct pch_gpio_set3 pch_gpio_set3_direction = {
};
-const struct pch_gpio_set3 pch_gpio_set3_level = {
+static const struct pch_gpio_set3 pch_gpio_set3_level = {
};
const struct pch_gpio_map mainboard_gpio_map = {