[U-Boot] [PATCH] ARC: add asm/gpio.h to fix compilation error with CONFIG_CMD_GPIO

Eugeniy Paltsev Eugeniy.Paltsev at synopsys.com
Mon Oct 16 12:15:33 UTC 2017


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: Eugeniy Paltsev <Eugeniy.Paltsev at synopsys.com>
---
 arch/arc/include/asm/gpio.h | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 arch/arc/include/asm/gpio.h

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



More information about the U-Boot mailing list