ARC: add asm/gpio.h to fix compilation error with CONFIG_CMD_GPIO
authorEugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Mon, 16 Oct 2017 12:15:33 +0000 (15:15 +0300)
committerAlexey Brodkin <abrodkin@synopsys.com>
Sun, 10 Dec 2017 18:13:05 +0000 (21:13 +0300)
With CONFIG_CMD_GPIO compilation reports error:
-------------------------->8---------------------
common/cmd_gpio.c:13:22: fatal error: asm/gpio.h: No such file or directory
 #include <asm/gpio.h>
                      ^
-------------------------->8---------------------

Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com>
Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
arch/arc/include/asm/gpio.h [new file with mode: 0644]

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