summaryrefslogtreecommitdiff
path: root/src/mainboard/google/slippy/chromeos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/slippy/chromeos.c')
-rw-r--r--src/mainboard/google/slippy/chromeos.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mainboard/google/slippy/chromeos.c b/src/mainboard/google/slippy/chromeos.c
index 9e0ab0ca38..ddc6e3a876 100644
--- a/src/mainboard/google/slippy/chromeos.c
+++ b/src/mainboard/google/slippy/chromeos.c
@@ -27,12 +27,7 @@ static const struct cros_gpio cros_gpios[] = {
CROS_GPIO_REC_AL(CROS_GPIO_VIRTUAL, CROS_GPIO_DEVICE_NAME),
CROS_GPIO_WP_AH(GPIO_SPI_WP, 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)
{