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)
commit5fb2ce119c113e5c987fa81ed89e73b2653e28e4
treed11f2747ca98de28d53b6c62c5644fe36a4b475c
parentb5e12229a4850ae9b19ee5252508749da8844b3c
ARM: Kirkwood: clk_register_gate_fn: add fn assignment

In commit:
    98d9986 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