sh: Drop ARCH_NR_GPIOS definition
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 12 Oct 2020 15:40:50 +0000 (18:40 +0300)
committerRich Felker <dalias@libc.org>
Thu, 7 Jan 2021 00:55:27 +0000 (19:55 -0500)
The default by generic header is the same, hence drop unnecessary definition.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rich Felker <dalias@libc.org>
arch/sh/include/asm/gpio.h

index 351918894e867fd1f303cefa8037ba32383939ed..d643250f0a0fa0b49de816db3a41cdc5c618ea5c 100644 (file)
@@ -16,7 +16,6 @@
 #include <cpu/gpio.h>
 #endif
 
-#define ARCH_NR_GPIOS 512
 #include <asm-generic/gpio.h>
 
 #ifdef CONFIG_GPIOLIB