rt2x00: add copy of clk for soc devices
authorStanislaw Gruszka <sgruszka@redhat.com>
Fri, 20 Jan 2017 13:28:24 +0000 (14:28 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 28 Jan 2017 07:03:45 +0000 (09:03 +0200)
commit34db70b92faed22f59fdc1dba766e8cb6248fe9e
tree6756bcc18e764aa24b56905bae2cb3e4f1f456c9
parentb3d75a81f07c757ab73c9022631170c3baefe380
rt2x00: add copy of clk for soc devices

Since clk_get() is not trivial add copy of clk pointer to rt2x00dev
for System On Chip devices and initialize it on probe routine.

Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Acked-by: Daniel Golle <daniel@makrotopia.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/ralink/rt2x00/rt2x00.h
drivers/net/wireless/ralink/rt2x00/rt2x00soc.c