summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/strago/chromeos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/intel/strago/chromeos.c')
-rw-r--r--src/mainboard/intel/strago/chromeos.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/mainboard/intel/strago/chromeos.c b/src/mainboard/intel/strago/chromeos.c
index a6a0af24ae..0cd2be4d60 100644
--- a/src/mainboard/intel/strago/chromeos.c
+++ b/src/mainboard/intel/strago/chromeos.c
@@ -38,8 +38,4 @@ static const struct cros_gpio cros_gpios[] = {
CROS_GPIO_WP_AH(0x10013, 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);