net: ns8382x: Add initialized eth_device structure
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tue, 19 Oct 2010 05:03:44 +0000 (14:03 +0900)
committerWolfgang Denk <wd@denx.de>
Sun, 14 Nov 2010 22:17:44 +0000 (23:17 +0100)
commit9a07e8094c484c5300b5e4181f9ed231eac184d8
tree1f959ef903829d0bcf4071aed60bc404c600454f
parenta9bc6d7ccfb8c1f72df1473faad9559888d3812e
net: ns8382x: Add initialized eth_device structure

ns8382x driver does not have write_hwaddr function.
However, eth stuff executes write_hwaddr function
because eth_device structure has not been initialized.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
CC: Ben Warren <biggerbadderben@gmail.com>
drivers/net/ns8382x.c