summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-omap/ocpi.c
diff options
context:
space:
mode:
authorTony Lindgren <tony@atomide.com>2006-01-17 15:33:51 -0800
committerTony Lindgren <tony@atomide.com>2006-01-17 15:33:51 -0800
commit30ff720b40ba64b0e9c8974673b95970e68503ac (patch)
tree686cfd46b78caff7a2bd436b84f47aa848a68b03 /arch/arm/plat-omap/ocpi.c
parentfde0fd49419177ddd69254b8d532edde9ce6a543 (diff)
downloadlinux-30ff720b40ba64b0e9c8974673b95970e68503ac.tar.bz2
ARM: OMAP: 4/4 Fix clock framework to use clk_enable/disable misc
This patch fixes OMAP clock framework to use clk_enable/disable instead of clk_use/unuse as specified in include/linux/clk.h. Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/plat-omap/ocpi.c')
-rw-r--r--arch/arm/plat-omap/ocpi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/plat-omap/ocpi.c b/arch/arm/plat-omap/ocpi.c
index e40fcc8b43d4..5cc6775c789c 100644
--- a/arch/arm/plat-omap/ocpi.c
+++ b/arch/arm/plat-omap/ocpi.c
@@ -88,7 +88,7 @@ static int __init omap_ocpi_init(void)
if (IS_ERR(ocpi_ck))
return PTR_ERR(ocpi_ck);
- clk_use(ocpi_ck);
+ clk_enable(ocpi_ck);
ocpi_enable();
printk("OMAP OCPI interconnect driver loaded\n");
@@ -102,7 +102,7 @@ static void __exit omap_ocpi_exit(void)
if (!cpu_is_omap16xx())
return;
- clk_unuse(ocpi_ck);
+ clk_disable(ocpi_ck);
clk_put(ocpi_ck);
}