[U-Boot] [PATCH] FDT: don't use private kernel header files
Wolfgang Denk
wd at denx.de
Tue Oct 21 21:35:56 CEST 2008
Dear Wolfgang Denk,
In message <1224581036-16425-1-git-send-email-wd at denx.de> you wrote:
> From: Wolfgang Denk <wd at xpert.denx.de>
>
> 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 <endian.h> instead!
>
> This patch fixes this problem.
>
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
> 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"
More information about the U-Boot
mailing list