Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1239477

[PATCH] MIPS: jz4740: Add missing gpio.h include

From Thierry Reding <thierry.reding@gmail.com>
Newsgroups linux.kernel
Subject [PATCH] MIPS: jz4740: Add missing gpio.h include
Date 2015-10-05 13:30 +0200
Message-ID <qgc7U-5TG-19@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Commit 832f5dacfa0b ("MIPS: Remove all the uses of custom gpio.h") was
incomplete in that it didn't replace any of the includes for the JZ4740
platform and thus broke the qi_lb60_defconfig build.

Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
---
 arch/mips/jz4740/board-qi_lb60.c | 1 +
 arch/mips/jz4740/gpio.c          | 1 +
 2 files changed, 2 insertions(+)

diff --git a/arch/mips/jz4740/board-qi_lb60.c b/arch/mips/jz4740/board-qi_lb60.c
index 4e62bf85d0b0..f2885adda9d0 100644
--- a/arch/mips/jz4740/board-qi_lb60.c
+++ b/arch/mips/jz4740/board-qi_lb60.c
@@ -35,6 +35,7 @@
 
 #include <linux/leds_pwm.h>
 
+#include <asm/mach-jz4740/gpio.h>
 #include <asm/mach-jz4740/platform.h>
 
 #include "clock.h"
diff --git a/arch/mips/jz4740/gpio.c b/arch/mips/jz4740/gpio.c
index 6cd69fdaa1c5..386626376b18 100644
--- a/arch/mips/jz4740/gpio.c
+++ b/arch/mips/jz4740/gpio.c
@@ -28,6 +28,7 @@
 #include <linux/seq_file.h>
 
 #include <asm/mach-jz4740/base.h>
+#include <asm/mach-jz4740/gpio.h>
 
 #define JZ4740_GPIO_BASE_A (32*0)
 #define JZ4740_GPIO_BASE_B (32*1)
-- 
2.5.0

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH] MIPS: jz4740: Add missing gpio.h include Thierry Reding <thierry.reding@gmail.com> - 2015-10-05 13:30 +0200
  Re: [PATCH] MIPS: jz4740: Add missing gpio.h include Alban <albeu@free.fr> - 2015-10-05 15:20 +0200
    Re: [PATCH] MIPS: jz4740: Add missing gpio.h include Thierry Reding <thierry.reding@gmail.com> - 2015-10-05 15:40 +0200

csiph-web