]> git.baikalelectronics.ru Git - kernel.git/commit
stmmac: dwmac-rk: use rk_gmac_ops as of match data
authorJoachim Eastwood <manabian@gmail.com>
Tue, 28 Jul 2015 22:09:01 +0000 (00:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jul 2015 07:13:24 +0000 (00:13 -0700)
commit3769f126d1d968df3d083f7ae379543c0dc3b437
tree2957342e5af1a6affbb047073bf494dec41c27f8
parentcb4a21130c50570e52a7341a57ffa04af04198d8
stmmac: dwmac-rk: use rk_gmac_ops as of match data

Remove the setup glue callback and use rk_gmac_ops as OF match
data so it can used directly when calling rk_gmac_setup.

Signed-off-by: Joachim Eastwood <manabian@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/dwmac-rk.c