Skip to content

Commit 6fec92d

Browse files
linuswRussell King (Oracle)
authored andcommitted
ARM: 9103/1: Drop ARCH_NR_GPIOS definition
The conditional by the generic header is the same, hence drop unnecessary duplication. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Andy Shevchenko <[email protected]> Reviewed-by: Linus Walleij <[email protected]> Signed-off-by: Linus Walleij <[email protected]> Signed-off-by: Russell King (Oracle) <[email protected]>
1 parent d7bcc5e commit 6fec92d

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

arch/arm/include/asm/gpio.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
#ifndef _ARCH_ARM_GPIO_H
33
#define _ARCH_ARM_GPIO_H
44

5-
#if CONFIG_ARCH_NR_GPIO > 0
6-
#define ARCH_NR_GPIOS CONFIG_ARCH_NR_GPIO
7-
#endif
8-
95
/* Note: this may rely upon the value of ARCH_NR_GPIOS set in mach/gpio.h */
106
#include <asm-generic/gpio.h>
117

0 commit comments

Comments
 (0)