diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-01-21 05:04:59 -0500 |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2010-01-31 22:34:33 -0800 |
commit | c4168af3ba03c17a73751b98c124bbd2e3e1f5b0 (patch) | |
tree | 0729968e83d1569d917c6975a5f3eb94e61b3fc9 /drivers/power | |
parent | 9b208ece0a4e040774e24990b7cb6f0ad0ca4cc7 (diff) | |
download | u-boot-imx-c4168af3ba03c17a73751b98c124bbd2e3e1f5b0.zip u-boot-imx-c4168af3ba03c17a73751b98c124bbd2e3e1f5b0.tar.gz u-boot-imx-c4168af3ba03c17a73751b98c124bbd2e3e1f5b0.tar.bz2 |
smc91111_eeprom: fix linking error
Building for a bf533-stamp ends up with this error:
smc91111_eeprom.o: In function `smc91111_eeprom':
examples/standalone/smc91111_eeprom.c:58: undefined reference to `memset'
make[2]: *** [smc91111_eeprom] Error 1
The new eth_struct definition means gcc has to zero out the structure on
the stack, and some gcc versions optimize this with an implicit call to
memset. So tweak the structure style to avoid that gcc feature.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions