[PATCH 15/33] Removing dead PROCESSOR_NS9750

Christoph Egger siccegge at cs.fau.de
Wed Jun 30 11:58:48 EDT 2010


PROCESSOR_NS9750 doesn't exist in Kconfig, therefore removing all
references for it from the source code.

Signed-off-by: Christoph Egger <siccegge at cs.fau.de>
---
 arch/arm/mach-ns9xxx/gpio.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)

diff --git a/arch/arm/mach-ns9xxx/gpio.c b/arch/arm/mach-ns9xxx/gpio.c
index 5503ca0..58f4f50 100644
--- a/arch/arm/mach-ns9xxx/gpio.c
+++ b/arch/arm/mach-ns9xxx/gpio.c
@@ -25,9 +25,6 @@
 
 #if defined(CONFIG_PROCESSOR_NS9360)
 #define GPIO_MAX 72
-#elif defined(CONFIG_PROCESSOR_NS9750)
-#define GPIO_MAX 49
-#endif
 
 /* protects BBU_GCONFx and BBU_GCTRLx */
 static spinlock_t gpio_lock = __SPIN_LOCK_UNLOCKED(gpio_lock);
@@ -42,11 +39,6 @@ static inline int ns9xxx_valid_gpio(unsigned gpio)
 		return gpio <= 72;
 	else
 #endif
-#if defined(CONFIG_PROCESSOR_NS9750)
-	if (processor_is_ns9750())
-		return gpio <= 49;
-	else
-#endif
 	{
 		BUG();
 		return 0;
-- 
1.7.0.4




More information about the linux-arm-kernel mailing list