ppc4xx: Fix compilation warning in 4xx miiphy.c
authorStefan Roese <sr@denx.de>
Mon, 7 Sep 2009 08:52:24 +0000 (10:52 +0200)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:18 +0000 (09:04 -0500)
commited51257e2a1e0a6e37cfbd2b116a4d674d678db2
tree311e1db5b9a3b1ea622d6260b86b19d38f9e5348
parent9c721657ad57781c7024c006426181ca6723a420
ppc4xx: Fix compilation warning in 4xx miiphy.c

This patch fixes the following compilation warning:

miiphy.c: In function 'emac4xx_miiphy_read':
miiphy.c:353: warning: dereferencing type-punned pointer will break
strict-aliasing rules

Signed-off-by: Stefan Roese <sr@denx.de>
cpu/ppc4xx/miiphy.c