diff mbox

[U-Boot,v1,10/18] MIPS: add asm/gpio.h to fix compilation error with CONFIG_CMD_GPIO.

Message ID 5672F173.8070000@microchip.com
State Accepted
Commit 1a96780016beba15470ce34689dc951761db2d2a
Delegated to: Daniel Schwierzeck
Headers show

Commit Message

Purna Chandra Mandal Dec. 17, 2015, 5:31 p.m. UTC
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>

---

 arch/mips/include/asm/gpio.h | 1 +
 1 file changed, 1 insertion(+)
 create mode 100644 arch/mips/include/asm/gpio.h

Comments

Chin Liang See Dec. 18, 2015, 8:39 a.m. UTC | #1
On Thu, 2015-12-17 at 23:01 +0530, Purna Chandra Mandal wrote:
> 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>

Thanks
Chin Liang
Simon Glass Dec. 18, 2015, 10:41 p.m. UTC | #2
n 17 December 2015 at 10:31, Purna Chandra Mandal
<purna.mandal@microchip.com> wrote:
> 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>
>
> ---
>
>  arch/mips/include/asm/gpio.h | 1 +
>  1 file changed, 1 insertion(+)
>  create mode 100644 arch/mips/include/asm/gpio.h

Reviewed-by: Simon Glass <sjg@chromium.org>
Daniel Schwierzeck Dec. 19, 2015, 6:18 p.m. UTC | #3
Am 17.12.2015 um 18:31 schrieb Purna Chandra Mandal:
> 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>
> 
> ---
> 
>  arch/mips/include/asm/gpio.h | 1 +
>  1 file changed, 1 insertion(+)
>  create mode 100644 arch/mips/include/asm/gpio.h
> 

applied to u-boot-mips/next, thanks
diff mbox

Patch

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