arch/arm/imxrt: Fix imxrt118x rgpio compiler warning

Move GPIO_PIN definition from imxrt118x_gpio.h to imxrt_rgpio.h to
remove redefinition warning.

Signed-off-by: Jukka Laitinen <jukka.laitinen@tii.ae>
This commit is contained in:
Jukka Laitinen 2026-09-25 23:42:43 +03:00 • committed by Xiang Xiao
parent 463d8a71d7
commit 6ef704ee83
2 changed files with 2 additions and 2 deletions

View file

@ -72,8 +72,6 @@
/* Most registers are laid out simply with one bit per pin */
#define GPIO_PIN(n) (1u << (n)) /* Bit n: Pin n, n=0-31 */
/* ICRN register (per-pin interrupt configuration) */
#define IMXRT_GPIO_ICRN_ISF (1u << 24) /* Bit 24: Interrupt Status Flag */

View file

@ -36,6 +36,8 @@
#include "hardware/rt118x/imxrt118x_gpio.h"
#include "imxrt_iomuxc_ver3.h"
#define GPIO_PIN(n) (1u << (n))
/****************************************************************************
* Pre-processor Definitions
****************************************************************************/