From cc880bbecd215f5541e4b6d922123fc46f8ccb72 Mon Sep 17 00:00:00 2001 From: Peter van der Perk <57130844+PetervdPerk-NXP@users.noreply.github.com> Date: Wed, 10 Apr 2024 14:04:32 +0200 Subject: [PATCH] [BACKPORT] imxrt: flexio guard move lower to allow other drivers to it (#297) --- arch/arm/src/imxrt/imxrt_flexio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/imxrt/imxrt_flexio.h b/arch/arm/src/imxrt/imxrt_flexio.h index 6c335585351..fc994a111f8 100644 --- a/arch/arm/src/imxrt/imxrt_flexio.h +++ b/arch/arm/src/imxrt/imxrt_flexio.h @@ -34,8 +34,6 @@ #include "imxrt_config.h" #include "hardware/imxrt_flexio.h" -#ifdef CONFIG_IMXRT_FLEXIO - /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ @@ -240,6 +238,8 @@ enum flexio_shifter_buffer_type_e FLEXIO_SHIFTER_BUFFER_NIBBLE_SWAPPED = 0x6u, /* Shifter Buffer N Nibble Swapped Register. */ }; +#ifdef CONFIG_IMXRT_FLEXIO + struct flexio_timer_config_s { uint32_t trigger_select;