NetStar: eeprom - undefined reference to `memset'
authorLadislav Michl <Ladislav.Michl@seznam.cz>
Mon, 8 Feb 2010 19:15:15 +0000 (14:15 -0500)
committerTom Rix <Tom.Rix@windriver.com>
Sun, 7 Mar 2010 18:36:34 +0000 (12:36 -0600)
Defining partially initialized struct eth_device on stack means
gcc has to zero out it, and some gcc versions optimize this with
an implicit call to memset. Move definition to data section
to avoid that (it has also nice side effect that we need not
to pass it to helper functions anymore)

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
Signed-off-by: Sandeep Paulraj <s-paulraj@ti.com>

No differences found