ppc4xx: Fix compilation warning in 4xx miiphy.c
authorStefan Roese <sr@denx.de>
Mon, 7 Sep 2009 08:52:24 +0000 (10:52 +0200)
committerStefan Roese <sr@denx.de>
Thu, 10 Sep 2009 12:38:17 +0000 (14:38 +0200)
commit0b34dbbd0b6969c98c44313b291836d9056ec40a
treea8c512745b59f005b0a71be46103e54cce804932
parent82379b5564819e62624a3c58fbc43f1afedf4f5f
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