]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ARM: omap3: clock: fix wrong container_of in clock36xx.c
authorJean-Philippe Francois <jp.francois@cynove.com>
Thu, 6 Jun 2013 14:48:07 +0000 (08:48 -0600)
committerPaul Walmsley <paul@pwsan.com>
Thu, 6 Jun 2013 14:48:07 +0000 (08:48 -0600)
commita93d8a1cea0899982993e9a93404c6f78b123697
tree64f1ec5a5d1c72c4bb6b209c726c0e043d548d69
parent768dc16397fb18c9de209cbcb84d890b8279faa7
ARM: omap3: clock: fix wrong container_of in clock36xx.c

omap36xx_pwrdn_clk_enable_with_hsdiv_restore expects the parent hw of
the clock to be a clk_hw_omap. However, looking at cclock3xxx_data.c,
all concerned clock have parent defined as clk_divider.  Fix the
function to use clk_divider.  Tested with 3.9 on dm3730.

Signed-off-by: Jean-Philippe François <jp.francois@cynove.com>
Cc: NeilBrown <neilb@suse.de>
Cc: Mike Turquette <mturquette@linaro.org>
Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clock36xx.c