From 558a58580507778065b90cf63fd7064c2664a04f Mon Sep 17 00:00:00 2001 From: Peter Bigot Date: Tue, 28 Jan 2020 16:22:19 -0600 Subject: [PATCH] gpio: do not deprecate internal direction mask Existing drivers still use this; move it above the deprecated macro region. Signed-off-by: Peter Bigot --- include/drivers/gpio.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/drivers/gpio.h b/include/drivers/gpio.h index f70813fb371..07d6224a67b 100644 --- a/include/drivers/gpio.h +++ b/include/drivers/gpio.h @@ -253,14 +253,14 @@ extern "C" { #define GPIO_DS_ALT_HIGH (0x1U << GPIO_DS_HIGH_POS) /** @} */ -/** @name Deprecated Flags - * @{ - */ - /** @cond INTERNAL_HIDDEN */ #define GPIO_DIR_MASK (GPIO_INPUT | GPIO_OUTPUT) /** @endcond */ +/** @name Deprecated Flags + * @{ + */ + /** Legacy flag indicating pin is configured as input only. * * @deprecated Replace with `GPIO_INPUT`.