From: Wolfgang Denk Date: Sun, 28 Nov 2010 12:42:44 +0100 Subject: [U-Boot] [PATCH] Fix compiler warning in fdt_support.c In-Reply-To: <1290367174-380-1-git-send-email-dirk.behme@gmail.com> References: <1290367174-380-1-git-send-email-dirk.behme@gmail.com> Message-ID: <20101128114244.B5B851352CD@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 dirk.behme at googlemail.com, In message <1290367174-380-1-git-send-email-dirk.behme@gmail.com> you wrote: > From: Dirk Behme > > Fix compiler warning > > fdt_support.c: In function 'of_bus_default_count_cells': > fdt_support.c:957: warning: passing argument 1 of '__swab32p' discards qualifiers from pointer target type > fdt_support.c:965: warning: passing argument 1 of '__swab32p' discards qualifiers from pointer target type > > be32_to_cpup() expects an 'u32 *' while prop is 'const u32 *'. > > Signed-off-by: Dirk Behme > > --- > > Found while building 'omap3_beagle'. Applied, thank. Gerry, hope this is OK with you. 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 I object to intellect without discipline; I object to power without constructive purpose. -- Spock, "The Squire of Gothos", stardate 2124.5