From: Robert Schwebel Date: Sun, 16 May 2004 11:58:06 +0200 Subject: [U-Boot-Users] [PATCH] configh In-Reply-To: <20040515171100.CFE3CC108D@atlas.denx.de> References: <20040515150855.GO27774@pengutronix.de> <20040515171100.CFE3CC108D@atlas.denx.de> Message-ID: <20040516095806.GU27774@pengutronix.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Sat, May 15, 2004 at 07:10:55PM +0200, Wolfgang Denk wrote: > > * Patch by Robert Schwebel, 14 May 2004: > > use config.h (which is needed in serial.c for CFG_HZ) > > What makes you think this is needed? The code compiles fine as is... > > > #include > > +#include > > #include > > And actually this _IS_ redundand, since "include/common.h" already > includes . It's normally good coding practise to include the files which have the stuff you actually need, instead of relying on other include files including other includefiles and wondering why things break if somebody changes something in the other file. But the decision is surely up to you. Robert -- Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry Handelsregister: Amtsgericht Hildesheim, HRA 2686 Hornemannstra?e 12, 31137 Hildesheim, Germany Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4