]> git.baikalelectronics.ru Git - kernel.git/commit
net: mvmdio: get and enable optional clock
authorSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Sun, 7 Apr 2013 01:09:47 +0000 (01:09 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Apr 2013 20:55:26 +0000 (16:55 -0400)
commit47bd52d1c934ad2452d78ff0d9da8d9f42c68528
tree2e85712f508c10f5b7a82c3cc9344da3810d9267
parent2947656cf99a709a21578ae3a5cae65245b95213
net: mvmdio: get and enable optional clock

Marvell mdio driver uses internal registers that can be clock gated on
some SoCs. This patch just adds optional clock handling, to allow to pass
and enable the corresponding clock.

Signed-off-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Acked-by: Florian Fainelli <florian@openwrt.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mvmdio.c