[U-Boot] [PATCH] MX25: tx25: Fix build by making use of GPIO framework

Stefano Babic sbabic at denx.de
Mon Aug 29 16:39:52 CEST 2011


On 08/29/2011 04:27 PM, Fabio Estevam wrote:
> From: Fabio Estevam <festevam at gmail.com>
> 
> Make use of GPIO framework and avoid the following build error:


Hi Fabio,

> tx25.c:126: error: dereferencing pointer to incomplete type
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at freescale.com>
> ---
>  board/karo/tx25/tx25.c |    1 +
>  include/configs/tx25.h |    2 ++
>  2 files changed, 3 insertions(+), 0 deletions(-)
> 
> diff --git a/board/karo/tx25/tx25.c b/board/karo/tx25/tx25.c
> index 25b99e8..ce75468 100644
> --- a/board/karo/tx25/tx25.c
> +++ b/board/karo/tx25/tx25.c
> @@ -28,6 +28,7 @@
>  #include <asm/io.h>
>  #include <asm/arch/imx-regs.h>
>  #include <asm/arch/imx25-pinmux.h>
> +#include <asm/gpio.h>
>  

Thanks, I missed this board !

Acked-by: Stefano Babic <sbabic at denx.de>

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the U-Boot mailing list