[PATCH 03/11] imx9: gpio: include types.h header

Peng Fan (OSS) peng.fan at oss.nxp.com
Tue Dec 3 16:42:46 CET 2024


From: Peng Fan <peng.fan at nxp.com>

Include types.h header for u32, following Linux Coding Style to include
necessary headers.

Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
 arch/arm/include/asm/arch-imx9/gpio.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/arch/arm/include/asm/arch-imx9/gpio.h b/arch/arm/include/asm/arch-imx9/gpio.h
index 40732022e7e56e9e460350a97a50b47bb2e98fa0..ca763f56a1db501ec66476f39a8f11a7a5ba7814 100644
--- a/arch/arm/include/asm/arch-imx9/gpio.h
+++ b/arch/arm/include/asm/arch-imx9/gpio.h
@@ -6,6 +6,8 @@
 #ifndef __ASM_ARCH_IMX9_GPIO_H
 #define __ASM_ARCH_IMX9_GPIO_H
 
+#include <linux/types.h>
+
 struct gpio_regs {
 	u32 gpio_pdor;
 	u32 gpio_psor;

-- 
2.35.3



More information about the U-Boot mailing list