summaryrefslogtreecommitdiff
path: root/src/mainboard/google/skyrim/chromeos.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/google/skyrim/chromeos.c')
-rw-r--r--src/mainboard/google/skyrim/chromeos.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mainboard/google/skyrim/chromeos.c b/src/mainboard/google/skyrim/chromeos.c
index 347e9d0b6a..c749b4f8c5 100644
--- a/src/mainboard/google/skyrim/chromeos.c
+++ b/src/mainboard/google/skyrim/chromeos.c
@@ -19,9 +19,4 @@ 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);