]> git.kernelconcepts.de Git - karo-tx-uboot.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)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 8 Sep 2015 20:35:20 +0000 (22:35 +0200)
commit186ec6b6e925a59717d8d99db65220907d893147
tree9dda56fde8358d49d2afc0961fe7503fabda6c50
parentd468a6da6a7ecd4fd42e9cd9eebf0f6105bfdf7e
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