From: Paul Walmsley Date: Thu, 2 Aug 2007 18:10:09 +0000 (-0600) Subject: omap2 clock: get rid of sleep_ck X-Git-Tag: v2.6.23-omap1~260 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=a23ad44c828a85772421d7205536c5c04c97357d;p=linux-2.6-omap-h63xx.git omap2 clock: get rid of sleep_ck According to the 2420 TRM rev J, SLEEP_CLK doesn't have any registers or bits associated with it, so it's outside software control. It's also a leaf clock - no software-controllable clocks use it as a parent. There's nothing we can do with it in software. So, drop it. Signed-off-by: Paul Walmsley Signed-off-by: Tony Lindgren --- diff --git a/arch/arm/mach-omap2/clock.h b/arch/arm/mach-omap2/clock.h index dd6e1d9129d..733ab98a5dc 100644 --- a/arch/arm/mach-omap2/clock.h +++ b/arch/arm/mach-omap2/clock.h @@ -684,14 +684,6 @@ static struct clk core_ck = { .recalc = &omap2_propagate_rate, }; -static struct clk sleep_ck = { /* sys_clk or 32k */ - .name = "sleep_ck", - .parent = &func_32k_ck, - .rate = 32000, - .flags = CLOCK_IN_OMAP242X | CLOCK_IN_OMAP243X, - .recalc = &omap2_propagate_rate, -}; - static struct clk func_96m_ck = { .name = "func_96m_ck", .parent = &apll96_ck, @@ -2017,7 +2009,6 @@ static struct clk *onchip_clks[] = { /* internal prcm root sources */ &func_54m_ck, &core_ck, - &sleep_ck, &func_96m_ck, &func_48m_ck, &func_12m_ck,