[U-Boot-Users] [PATCH] Fix u16 status declaration when PCMCIA is defined

Wolfgang Denk wd at denx.de
Sun Nov 18 16:27:51 CET 2007


In message <1195386902-15477-1-git-send-email-plagnioj at jcrosoft.com> you wrote:
> Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
> 
> diff --git a/board/pb1x00/pb1x00.c b/board/pb1x00/pb1x00.c
> index 95b7d82..536c954 100644
> --- a/board/pb1x00/pb1x00.c
> +++ b/board/pb1x00/pb1x00.c
> @@ -42,7 +42,9 @@ void write_one_tlb( int index, u32 pagemask, u32 hi, u32 low0, u32 low1 );
>  
>  int checkboard (void)
>  {
> +#if defined(CONFIG_IDE_PCMCIA) && 0

Oops? What is the meaning of the "&& 0" here ???

There are less cryptic ways to comment out a line of code, it seems.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"One thing they don't tell you about doing  experimental  physics  is
that sometimes you must work under adverse conditions... like a state
of sheer terror."                                    - W. K. Hartmann




More information about the U-Boot mailing list