]> git.dujemihanovic.xyz Git - u-boot.git/commit
sunxi: emac: Prepare for driver-model support
authorHans de Goede <hdegoede@redhat.com>
Sat, 18 Apr 2015 12:44:38 +0000 (14:44 +0200)
committerHans de Goede <hdegoede@redhat.com>
Mon, 4 May 2015 14:51:53 +0000 (16:51 +0200)
commitf9f62d2dac076de247461155f62906e0104259b0
treea9f2a27335174ee1b2ec78d0b1a6d8fc347497c5
parent8145dea46801e14af3bf65d2d70c3c19b8bb8e81
sunxi: emac: Prepare for driver-model support

Split all the core functionality out into functions taking a
struct emac_eth_dev *priv argument as preparation for adding driver-model
support.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/net/sunxi_emac.c