]> git.sur5r.net Git - u-boot/commitdiff
MIPS: add asm/gpio.h to fix compilation error with CONFIG_CMD_GPIO.
authorPurna Chandra Mandal <purna.mandal@microchip.com>
Thu, 17 Dec 2015 17:31:31 +0000 (23:01 +0530)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sat, 16 Jan 2016 20:06:45 +0000 (21:06 +0100)
With CONFIG_CMD_GPIO compilation reports error.
common/cmd_gpio.c:13:22: fatal error: asm/gpio.h: No such file or directory
 #include <asm/gpio.h>
                      ^
Signed-off-by: Purna Chandra Mandal <purna.mandal@microchip.com>
Reviewed-by: Chin Liang See <clsee@altera.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/mips/include/asm/gpio.h [new file with mode: 0644]

diff --git a/arch/mips/include/asm/gpio.h b/arch/mips/include/asm/gpio.h
new file mode 100644 (file)
index 0000000..306ab4c
--- /dev/null
@@ -0,0 +1 @@
+#include <asm-generic/gpio.h>