summaryrefslogtreecommitdiff
path: root/src/mainboard/intel/adlrvp/gpio_n.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainboard/intel/adlrvp/gpio_n.c')
-rw-r--r--src/mainboard/intel/adlrvp/gpio_n.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/mainboard/intel/adlrvp/gpio_n.c b/src/mainboard/intel/adlrvp/gpio_n.c
index 364deaca25..b985d53dd2 100644
--- a/src/mainboard/intel/adlrvp/gpio_n.c
+++ b/src/mainboard/intel/adlrvp/gpio_n.c
@@ -236,9 +236,4 @@ void variant_configure_gpio_pads(void)
static const struct cros_gpio cros_gpios[] = {
CROS_GPIO_REC_AL(CROS_GPIO_VIRTUAL, 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);