net: natsemi: Add initialized eth_device structure
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Tue, 19 Oct 2010 05:03:43 +0000 (14:03 +0900)
committerWolfgang Denk <wd@denx.de>
Sun, 14 Nov 2010 22:17:43 +0000 (23:17 +0100)
commita9bc6d7ccfb8c1f72df1473faad9559888d3812e
treee26659e0f1c8d7d921305713d485213ad7e86adc
parentde0b95762a048a6815cd019b3a0e1acf0dbd70f4
net: natsemi: Add initialized eth_device structure

natsemi 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/natsemi.c