summaryrefslogtreecommitdiff
path: root/src/mainboard/google/kahlee/chromeos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/kahlee/chromeos.c')
-rw-r--r--src/mainboard/google/kahlee/chromeos.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mainboard/google/kahlee/chromeos.c b/src/mainboard/google/kahlee/chromeos.c
index c7f7671e00..4b71175519 100644
--- a/src/mainboard/google/kahlee/chromeos.c
+++ b/src/mainboard/google/kahlee/chromeos.c
@@ -29,12 +29,7 @@ static const struct cros_gpio cros_gpios[] = {
CROS_GPIO_REC_AL(CROS_GPIO_VIRTUAL, GPIO_DEVICE_NAME),
CROS_GPIO_WP_AL(CROS_WP_GPIO, GPIO_DEVICE_NAME),
};
-
-const struct cros_gpio *variant_cros_gpios(size_t *num)
-{
- *num = ARRAY_SIZE(cros_gpios);
- return cros_gpios;
-}
+DECLARE_CROS_GPIOS(cros_gpios);
int get_ec_is_trusted(void)
{