net: emaclite: Fix OF initialization
authorMichal Simek <michal.simek@xilinx.com>
Mon, 24 Feb 2014 10:16:28 +0000 (11:16 +0100)
committerTom Rini <trini@ti.com>
Tue, 4 Mar 2014 14:27:32 +0000 (09:27 -0500)
commit0c9c99a20b8b900fc8e284f89a08ff6f46de6a3b
tree1dfed837f0aa454ef0f89c1743fe95d572ec645a
parenteeb72e67619b98d2502fe634a3a5d9953de92ad0
net: emaclite: Fix OF initialization

- Add xilinx_emaclite_of_init to netdev.h
- Remove global data pointer from the driver
- Add better handling for error state.

Signed-off-by: Michal Simek <michal.simek@xilinx.com>
drivers/net/xilinx_emaclite.c
include/netdev.h