[PATCH 1/4] ARM: versatile: drop redundant <mach/gpio.h>

Antony Pavlov antonynpavlov at gmail.com
Thu Jun 19 14:28:37 PDT 2014


The arch/arm/include/asm/gpio.h header file contains

  #ifndef CONFIG_GPIOLIB
  #include <mach/gpio.h>
  #else
  #include <asm-generic/gpio.h>
  #endif

We use CONFIG_GPIOLIB=y for the only mach-versatile
Versatile/PB board so there is no need of <mach/gpio.h>.

Signed-off-by: Antony Pavlov <antonynpavlov at gmail.com>
---
 arch/arm/mach-versatile/include/mach/gpio.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/arch/arm/mach-versatile/include/mach/gpio.h b/arch/arm/mach-versatile/include/mach/gpio.h
deleted file mode 100644
index 306ab4c..0000000
--- a/arch/arm/mach-versatile/include/mach/gpio.h
+++ /dev/null
@@ -1 +0,0 @@
-#include <asm-generic/gpio.h>
-- 
1.9.2




More information about the barebox mailing list