OSDN Git Service

net: mvneta: get optional bus clk
authorJisheng Zhang <jszhang@marvell.com>
Wed, 20 Jan 2016 11:27:24 +0000 (19:27 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 21 Jan 2016 20:04:59 +0000 (12:04 -0800)
commit15cc4a4a99ebfbbb696e85dca30680b522811a44
tree5b76dfbc514214a783ebd1ce36dcd716c0299412
parent2804ba4edef5b4de01d4c580eb9ab4000f822a53
net: mvneta: get optional bus clk

Some platforms may provide more than one clk for the mvneta IP, for
example Marvell BG4CT provides one clk for the mac core, and one
clk for the AXI bus logic. Obviously this bus clk also need to
be enabled. This patch adds this optional "bus" clk support.

Signed-off-by: Jisheng Zhang <jszhang@marvell.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvneta.c