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