net: sun8i-emac: set mux and clock by driver data
authorLothar Felten <lothar.felten@gmail.com>
Fri, 13 Jul 2018 08:45:27 +0000 (10:45 +0200)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 16 Jul 2018 06:57:27 +0000 (12:27 +0530)
commitc6a21d6615ea83e150eb7633d96e9f0a2c3f8439
treeaf26f34bc2a544b3d9f29b13dde05ab8ddf641d2
parent2f157436335a5507bfeda8097e3f687a31e941ce
net: sun8i-emac: set mux and clock by driver data

Use driver data->variant information to select device specific
pin mux and phy clock settings.

Suggested by Jagan Teki

Reviewed-by: Jagan Teki <jagan@openedev.com>
Tested-by: Jagan Teki <jagan@openedev.com>
Signed-off-by: Lothar Felten <lothar.felten@gmail.com>
drivers/net/sun8i_emac.c