arch/arm/include/asm/arch-imxrt/gpio.h: imxrt gpio use common gpio.h

The current file defines a struct gpio_regs identical to the one in
<asm/mach-imx/gpio.h>. To eliminate code duplication and align with
the approach used for i.MX8M, include the common header instead of
redefining the struct.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
This commit is contained in:
Giulio Benetti
2025-06-29 10:08:10 -03:00
committed by Fabio Estevam
parent 612421af51
commit a14da5ed61
+1 -8
View File
@@ -7,13 +7,6 @@
#ifndef __ASM_ARCH_GPIO_H__
#define __ASM_ARCH_GPIO_H__
#if !(defined(__KERNEL_STRICT_NAMES) || defined(__ASSEMBLY__))
/* GPIO registers */
struct gpio_regs {
u32 gpio_dr; /* data */
u32 gpio_dir; /* direction */
u32 gpio_psr; /* pad satus */
};
#endif
#include <asm/mach-imx/gpio.h>
#endif /* __ASM_ARCH_GPIO_H__ */