summaryrefslogtreecommitdiff
path: root/arch/sh/include
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2020-10-12 18:40:50 +0300
committerRich Felker <dalias@libc.org>2021-01-07 03:55:27 +0300
commit542baf5108e052684c3abdeea57861f12f89a6b9 (patch)
treebe6da43319d53ac3757d17c1272075169a10452f /arch/sh/include
parent19170492735be935747b0545b7eed8bb40cc1209 (diff)
downloadlinux-542baf5108e052684c3abdeea57861f12f89a6b9.tar.xz
sh: Drop ARCH_NR_GPIOS definition
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>
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/gpio.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/sh/include/asm/gpio.h b/arch/sh/include/asm/gpio.h
index 351918894e86..d643250f0a0f 100644
--- a/arch/sh/include/asm/gpio.h
+++ b/arch/sh/include/asm/gpio.h
@@ -16,7 +16,6 @@
#include <cpu/gpio.h>
#endif
-#define ARCH_NR_GPIOS 512
#include <asm-generic/gpio.h>
#ifdef CONFIG_GPIOLIB