aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-u300/clock.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@stericsson.com>2010-08-05 02:58:58 -0400
committerRussell King <rmk+kernel@arm.linux.org.uk>2010-08-10 17:10:55 -0400
commitb7276b236dcf400003179e77f5b4b4c05e1fb29c (patch)
treebd6d2ca778640be672356bf92808450dfa01bede /arch/arm/mach-u300/clock.c
parent379aae5d6c3d8d9751d85a8022e68a90df13a7ae (diff)
ARM: 6296/1: clock U300 intcon and timer properly
This removes the quirks to clock the U300 VIC and timer by custom hooks and moves the control out to the clock framework where it belongs. This is possible now that clocks are available early. Signed-off-by: Linus Walleij <linus.walleij@stericsson.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-u300/clock.c')
-rw-r--r--arch/arm/mach-u300/clock.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/mach-u300/clock.c b/arch/arm/mach-u300/clock.c
index 7836de35893c..7a94729caff9 100644
--- a/arch/arm/mach-u300/clock.c
+++ b/arch/arm/mach-u300/clock.c
@@ -1315,25 +1315,6 @@ static void __init clk_register(void)
1315 clkdev_add_table(lookups, ARRAY_SIZE(lookups)); 1315 clkdev_add_table(lookups, ARRAY_SIZE(lookups));
1316} 1316}
1317 1317
1318/*
1319 * The interrupt controller is enabled before the clock API is registered.
1320 */
1321void u300_enable_intcon_clock(void)
1322{
1323 clk_enable(&intcon_clk);
1324}
1325EXPORT_SYMBOL(u300_enable_intcon_clock);
1326
1327/*
1328 * The timer is enabled before the clock API is registered.
1329 */
1330void u300_enable_timer_clock(void)
1331{
1332 clk_enable(&app_timer_clk);
1333}
1334EXPORT_SYMBOL(u300_enable_timer_clock);
1335
1336
1337#if (defined(CONFIG_DEBUG_FS) && defined(CONFIG_U300_DEBUG)) 1318#if (defined(CONFIG_DEBUG_FS) && defined(CONFIG_U300_DEBUG))
1338/* 1319/*
1339 * The following makes it possible to view the status (especially 1320 * The following makes it possible to view the status (especially