]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ARM: shmobile: Remove mach/clkdev.h
authorMagnus Damm <damm+renesas@opensource.se>
Tue, 20 Jan 2015 11:58:10 +0000 (20:58 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Mon, 23 Feb 2015 22:12:15 +0000 (07:12 +0900)
Move over ARCH_SHMOBILE_LEGACY to use the default legacy ARM
implementations of __clk_get() and __clk_put() in <asm/clkdev.h>
by deselecting HAVE_MACH_CLKDEV. This has the nice side effect
that <mach/clkdev.h> is no longer used and can be removed.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/Kconfig
arch/arm/mach-shmobile/clock.c
arch/arm/mach-shmobile/include/mach/clkdev.h [deleted file]

index 9f1f09a2bc9bf28894777c08d6968d7faeba55a6..495fb7ace4d82f5147d4e832a4d41b3d2a162050 100644 (file)
@@ -646,7 +646,6 @@ config ARCH_SHMOBILE_LEGACY
        select GENERIC_CLOCKEVENTS
        select HAVE_ARM_SCU if SMP
        select HAVE_ARM_TWD if SMP
-       select HAVE_MACH_CLKDEV
        select HAVE_SMP
        select MIGHT_HAVE_CACHE_L2X0
        select MULTI_IRQ_HANDLER
index 34f056fc375691c22169b4ee26fb4f049e1396e6..68c2d06d0eaaa800ce61bc074320259cf6b6f9eb 100644 (file)
@@ -45,14 +45,3 @@ int __init shmobile_clk_init(void)
 
        return 0;
 }
-
-int __clk_get(struct clk *clk)
-{
-       return 1;
-}
-EXPORT_SYMBOL(__clk_get);
-
-void __clk_put(struct clk *clk)
-{
-}
-EXPORT_SYMBOL(__clk_put);
diff --git a/arch/arm/mach-shmobile/include/mach/clkdev.h b/arch/arm/mach-shmobile/include/mach/clkdev.h
deleted file mode 100644 (file)
index 36d0163..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#ifndef __ASM_MACH_CLKDEV_H
-#define __ASM_MACH_CLKDEV_H
-
-int __clk_get(struct clk *clk);
-void __clk_put(struct clk *clk);
-
-#endif /* __ASM_MACH_CLKDEV_H */