]> 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)
commit97c118099b7da5dde33c7faa927e68c3e10ec317
tree2e85712f508c10f5b7a82c3cc9344da3810d9267
parent8a7918c4dc0512d7bb8e6c4e1db49088b634db7a
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