summaryrefslogtreecommitdiff
path: root/arch/mips/jz4740/gpio.c
diff options
context:
space:
mode:
authorAlban Bedel <albeu@free.fr>2015-09-04 15:29:16 +0300
committerRalf Baechle <ralf@linux-mips.org>2015-10-01 10:06:26 +0300
commit5b235dc2647e4977b17b5c41d959d0f455831c3f (patch)
tree7f74a5a10f4c23aba51097e3b67f2b9c3a940640 /arch/mips/jz4740/gpio.c
parent7a63076d9a31a6c2073da45021eeb4f89d2a8b56 (diff)
downloadlinux-5b235dc2647e4977b17b5c41d959d0f455831c3f.tar.xz
MIPS: Fix the build on jz4740 after removing the custom gpio.h
Somehow the wrong version of the patch to remove the use of custom gpio.h on mips has been merged. This patch add the missing fixes for a build error on jz4740 because linux/gpio.h doesn't provide any machine specfics definitions anymore. Signed-off-by: Alban Bedel <albeu@free.fr> Cc: Paul Burton <paul.burton@imgtec.com> Cc: Lars-Peter Clausen <lars@metafoo.de> Cc: Brian Norris <computersforpeace@gmail.com> Cc: Thomas Gleixner <tglx@linutronix.de> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org Patchwork: https://patchwork.linux-mips.org/patch/11089/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/jz4740/gpio.c')
-rw-r--r--arch/mips/jz4740/gpio.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/mips/jz4740/gpio.c b/arch/mips/jz4740/gpio.c
index a74e181058b0..8c6d76c9b2d6 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)