From: Wolfgang Denk Date: Tue, 25 Jun 2013 20:27:26 +0200 Subject: [U-Boot] [PATCH 2/2] LaCie/common: Fix cloudbox ethernet leds In-Reply-To: <1372178945-11528-3-git-send-email-fredo@starox.org> References: <1372178945-11528-1-git-send-email-fredo@starox.org> <1372178945-11528-3-git-send-email-fredo@starox.org> Message-ID: <20130625182726.C19C7380468@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Frederic Leroy, In message <1372178945-11528-3-git-send-email-fredo@starox.org> you wrote: > > diff --git a/board/LaCie/common/common.c b/board/LaCie/common/common.c > index a62bf9f..d828685 100644 > --- a/board/LaCie/common/common.c > +++ b/board/LaCie/common/common.c ... > + #ifndef CONFIG_CLOUDBOX ... > + #else ... > + #endif Preprocessor statements must start in column 1; please fix. Also, can we not avoid the #ifdef alltogether by providing a #define for the register number to read? This could then be done in the board config file. 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 Children begin by loving their parents. After a time they judge them. Rarely, if ever, do they forgive them. - Oscar Wilde