soc: nxp_imx: Workaround for SDK macro name variation
The macro INPUTMUX_PINTSEL_COUNT is name INPUTMUX_PINT_SEL_COUNT on certain SoC's in the SDK. Signed-off-by: Mahesh Mahadevan <mahesh.mahadevan@nxp.com>
This commit is contained in:
parent
6124ccfccf
commit
aa061b42b6
|
@ -72,4 +72,9 @@
|
|||
/*!<@brief Slow mode */
|
||||
#define IOPCTL_PIO_SLEW_RATE_SLOW 0x80u
|
||||
|
||||
/* Workaround to handle macro variation in the SDK */
|
||||
#ifndef INPUTMUX_PINTSEL_COUNT
|
||||
#define INPUTMUX_PINTSEL_COUNT INPUTMUX_PINT_SEL_COUNT
|
||||
#endif
|
||||
|
||||
#endif /* _SOC__H_ */
|
||||
|
|
|
@ -75,6 +75,11 @@
|
|||
/*!<@brief Slow mode */
|
||||
#define IOPCTL_PIO_SLEW_RATE_SLOW 0x80u
|
||||
|
||||
/* Workaround to handle macro variation in the SDK */
|
||||
#ifndef INPUTMUX_PINTSEL_COUNT
|
||||
#define INPUTMUX_PINTSEL_COUNT INPUTMUX_PINT_SEL_COUNT
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue