]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: Kirkwood: clk_register_gate_fn: add fn assignment
authorMarc Kleine-Budde <mkl@blackshift.org>
Fri, 22 Jun 2012 06:54:01 +0000 (08:54 +0200)
committerOlof Johansson <olof@lixom.net>
Sat, 23 Jun 2012 23:19:02 +0000 (16:19 -0700)
commitbe416493fb019451f93fea55c22627b2d4f5b897
treed11f2747ca98de28d53b6c62c5644fe36a4b475c
parent13b957ccc9dde6600dc85a4120bbfa00ccdd3c5d
ARM: Kirkwood: clk_register_gate_fn: add fn assignment

In commit:
    f4d4979 ARM: Kirkwood: Replace clock gating
the kirkwood clock gating has been reworked. A custom variant of
clock gating, that calls a custom function before gating the clock
off, has been introduced. However in clk_register_gate_fn() this
custom function "fn" is never assigned.

This patch adds the missing fn assignment.

Cc: stable <stable@vger.kernel.org>
Signed-off-by: Marc Kleine-Budde <mkl@blackshift.org>
Tested-by: Andrew Lunn <andrew@lunn.ch>
Acked-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: Olof Johansson <olof@lixom.net>
arch/arm/mach-kirkwood/common.c