From 5fecb36ca0c5642259227bba9aed94727e084c17 Mon Sep 17 00:00:00 2001 From: Stefano Babic Date: Sun, 19 Aug 2012 21:33:50 +0000 Subject: MX: Set a common gpio.h for all i.MX Each i.MX has its own gpio.h, defining the same structure. The internal GPIO controller has the same layout (at least for the register used by u-boot) and can be shared. Signed-off-by: Stefano Babic Tested-by: Matt Sealey --- arch/arm/include/asm/arch-mx5/gpio.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'arch/arm/include/asm/arch-mx5/gpio.h') diff --git a/arch/arm/include/asm/arch-mx5/gpio.h b/arch/arm/include/asm/arch-mx5/gpio.h index 1dc34e9164..b1b1218083 100644 --- a/arch/arm/include/asm/arch-mx5/gpio.h +++ b/arch/arm/include/asm/arch-mx5/gpio.h @@ -25,11 +25,6 @@ #ifndef __ASM_ARCH_MX5_GPIO_H #define __ASM_ARCH_MX5_GPIO_H -/* GPIO registers */ -struct gpio_regs { - u32 gpio_dr; - u32 gpio_dir; - u32 gpio_psr; -}; +#include #endif -- cgit v1.2.1