From: Wolfgang Denk Date: Tue, 21 Oct 2008 21:35:56 +0200 Subject: [U-Boot] [PATCH] FDT: don't use private kernel header files In-Reply-To: <1224581036-16425-1-git-send-email-wd@denx.de> References: <1224581036-16425-1-git-send-email-wd@denx.de> Message-ID: <20081021193556.945D1835694E@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 Wolfgang Denk, In message <1224581036-16425-1-git-send-email-wd@denx.de> you wrote: > From: Wolfgang Denk > > On some systems (for example Fedora Core 4) U-Boot builds with the > following wanrings only: > > ... > In file included from /home/wd/git/u-boot/include/libfdt_env.h:33, > from fdt.c:51: > /usr/include/asm/byteorder.h:6:2: warning: #warning using private kernel header; include instead! > > This patch fixes this problem. > > Signed-off-by: Wolfgang Denk > --- > include/image.h | 20 +++++++++++--------- > include/libfdt_env.h | 19 ++++++++++++++----- > 2 files changed, 25 insertions(+), 14 deletions(-) Applied. 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 All repairs tend to destroy the structure, to increase the entropy and disorder of the system. Less and less effort is spent on fixing original design flaws; more and more is spent on fixing flaws intro- duced by earlier fixes. - Fred Brooks, "The Mythical Man Month"