From abae61305684fffb0f1d779a1a678855ec5e8cfc Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Mon, 25 May 2009 17:22:18 +0200 Subject: mxc: remove ARCH_NR_GPIOS Use the default value of 256 which is enough for all i.MX SoCs. Signed-off-by: Sascha Hauer --- arch/arm/plat-mxc/include/mach/mx27.h | 3 --- 1 file changed, 3 deletions(-) (limited to 'arch/arm/plat-mxc/include/mach/mx27.h') diff --git a/arch/arm/plat-mxc/include/mach/mx27.h b/arch/arm/plat-mxc/include/mach/mx27.h index 6e93f2c0b7b..063ac352465 100644 --- a/arch/arm/plat-mxc/include/mach/mx27.h +++ b/arch/arm/plat-mxc/include/mach/mx27.h @@ -120,7 +120,4 @@ extern int mx27_revision(void); /* Mandatory defines used globally */ -/* this CPU supports up to 192 GPIOs (don't forget the baseboard!) */ -#define ARCH_NR_GPIOS (192 + 16) - #endif /* __ASM_ARCH_MXC_MX27_H__ */ -- cgit v1.2.3 From 12308dfe3776ff5741fc675f2a352165e1628098 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Wed, 27 May 2009 18:33:58 +0200 Subject: mxc: remove do not include directly Everyone should be free to include the files he actually needs. Signed-off-by: Sascha Hauer --- arch/arm/plat-mxc/include/mach/mx27.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'arch/arm/plat-mxc/include/mach/mx27.h') diff --git a/arch/arm/plat-mxc/include/mach/mx27.h b/arch/arm/plat-mxc/include/mach/mx27.h index 063ac352465..dc3ad9aa952 100644 --- a/arch/arm/plat-mxc/include/mach/mx27.h +++ b/arch/arm/plat-mxc/include/mach/mx27.h @@ -24,10 +24,6 @@ #ifndef __ASM_ARCH_MXC_MX27_H__ #define __ASM_ARCH_MXC_MX27_H__ -#ifndef __ASM_ARCH_MXC_HARDWARE_H__ -#error "Do not include directly." -#endif - /* IRAM */ #define IRAM_BASE_ADDR 0xFFFF4C00 /* internal ram */ -- cgit v1.2.3