summaryrefslogtreecommitdiff
path: root/src/mainboard/google/butterfly/chromeos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/butterfly/chromeos.c')
-rw-r--r--src/mainboard/google/butterfly/chromeos.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mainboard/google/butterfly/chromeos.c b/src/mainboard/google/butterfly/chromeos.c
index f31967c23d..4dcf14fd16 100644
--- a/src/mainboard/google/butterfly/chromeos.c
+++ b/src/mainboard/google/butterfly/chromeos.c
@@ -52,12 +52,7 @@ static const struct cros_gpio cros_gpios[] = {
CROS_GPIO_REC_AH(CROS_GPIO_VIRTUAL, CROS_GPIO_DEVICE_NAME),
CROS_GPIO_WP_AL(WP_GPIO, CROS_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)
{