summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-nomadik/clock.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2010-08-31 01:36:52 +0800
committerSascha Hauer <s.hauer@pengutronix.de>2010-09-20 08:56:42 +0200
commit6186a855158afcd8d97002da973d88adc8637cdd (patch)
tree3b52d17549605bfc7150a6d702a27996da87e72b /arch/arm/mach-nomadik/clock.c
parenta1ea745cb0a59d3627a3f8f2fda3ca913014cae0 (diff)
downloadbarebox-6186a855158afcd8d97002da973d88adc8637cdd.tar.gz
barebox-6186a855158afcd8d97002da973d88adc8637cdd.tar.xz
arm: move clkdev to drivers/clk
as refer in this patch "arm & sh: factorised duplicated clkdev.c" factorise some generic infrastructure to assist looking up struct clks for the ARM & SH architecture. as the code is identical at 99% in linux move it also as preparing for the SH adding Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'arch/arm/mach-nomadik/clock.c')
-rw-r--r--arch/arm/mach-nomadik/clock.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/arch/arm/mach-nomadik/clock.c b/arch/arm/mach-nomadik/clock.c
index c74e0c131a..5f34a2cd9b 100644
--- a/arch/arm/mach-nomadik/clock.c
+++ b/arch/arm/mach-nomadik/clock.c
@@ -8,7 +8,7 @@
#include <linux/err.h>
#include <linux/clk.h>
#include <init.h>
-#include <asm/clkdev.h>
+#include <linux/clkdev.h>
#include "clock.h"
@@ -34,11 +34,6 @@ void clk_disable(struct clk *clk)
}
EXPORT_SYMBOL(clk_disable);
-int __clk_get(struct clk *clk)
-{
- return 1;
-}
-
/* Create a clock structure with the given name */
int nmdk_clk_create(struct clk *clk, const char *dev_id)
{