Skip to content

Commit 1d44e28

Browse files
mmahadevan108dleach02
authored andcommitted
soc: Include PINT include file conditionally
Include fsl_pint.h header file only when the CONFIG_GPIO_MCUX_LPC is enabled Signed-off-by: Mahesh Mahadevan <[email protected]>
1 parent 0a2464b commit 1d44e28

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

soc/arm/nxp_lpc/lpc54xxx/soc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
#include <fsl_clock.h>
2525
#include <fsl_common.h>
2626
#include <fsl_device_registers.h>
27+
#ifdef CONFIG_GPIO_MCUX_LPC
2728
#include <fsl_pint.h>
29+
#endif
2830

2931
/**
3032
*

soc/arm/nxp_lpc/lpc55xxx/soc.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,9 @@
2424
#include <fsl_clock.h>
2525
#include <fsl_common.h>
2626
#include <fsl_device_registers.h>
27+
#ifdef CONFIG_GPIO_MCUX_LPC
2728
#include <fsl_pint.h>
29+
#endif
2830
#if CONFIG_USB_DC_NXP_LPCIP3511
2931
#include "usb_phy.h"
3032
#include "usb_dc_mcux.h"

0 commit comments

Comments
 (0)