fsl: Fix compiler warnings from gcc-4.4 in sys_eeprom code
authorKumar Gala <galak@kernel.crashing.org>
Fri, 3 Jul 2009 17:45:44 +0000 (12:45 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Fri, 3 Jul 2009 17:46:47 +0000 (12:46 -0500)
commitafb0b1315c048ce2b1f35f0183b8b118ad0c14e1
tree80dc28a2556716d23da60ee1514d827207786b79
parente94e460c6e8741f42dab6d8dd4b596ba5d9d79ae
fsl: Fix compiler warnings from gcc-4.4 in sys_eeprom code

sys_eeprom.c: In function 'do_mac':
sys_eeprom.c:323: warning: dereferencing type-punned pointer will break strict-aliasing rules
sys_eeprom.c: In function 'mac_read_from_eeprom':
sys_eeprom.c:395: warning: dereferencing type-punned pointer will break strict-aliasing rules

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/common/sys_eeprom.c