diff options
author | Magnus Damm <damm+renesas@opensource.se> | 2015-01-20 06:58:10 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2015-02-23 17:12:15 -0500 |
commit | 814979eb8494c2269f4907ef0494f199d6d06ec2 (patch) | |
tree | 0feff2083cc16d8c012fd1cb2e4847e1d26b96a6 /arch/arm | |
parent | 4fa9c6e24b2dbb1bdc62280834c07c34d7d9c1f0 (diff) |
ARM: shmobile: Remove mach/clkdev.h
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>
Diffstat (limited to 'arch/arm')
-rw-r--r-- | arch/arm/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/clock.c | 11 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/clkdev.h | 7 |
3 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 9f1f09a2bc9b..495fb7ace4d8 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -646,7 +646,6 @@ config ARCH_SHMOBILE_LEGACY | |||
646 | select GENERIC_CLOCKEVENTS | 646 | select GENERIC_CLOCKEVENTS |
647 | select HAVE_ARM_SCU if SMP | 647 | select HAVE_ARM_SCU if SMP |
648 | select HAVE_ARM_TWD if SMP | 648 | select HAVE_ARM_TWD if SMP |
649 | select HAVE_MACH_CLKDEV | ||
650 | select HAVE_SMP | 649 | select HAVE_SMP |
651 | select MIGHT_HAVE_CACHE_L2X0 | 650 | select MIGHT_HAVE_CACHE_L2X0 |
652 | select MULTI_IRQ_HANDLER | 651 | select MULTI_IRQ_HANDLER |
diff --git a/arch/arm/mach-shmobile/clock.c b/arch/arm/mach-shmobile/clock.c index 34f056fc3756..68c2d06d0eaa 100644 --- a/arch/arm/mach-shmobile/clock.c +++ b/arch/arm/mach-shmobile/clock.c | |||
@@ -45,14 +45,3 @@ int __init shmobile_clk_init(void) | |||
45 | 45 | ||
46 | return 0; | 46 | return 0; |
47 | } | 47 | } |
48 | |||
49 | int __clk_get(struct clk *clk) | ||
50 | { | ||
51 | return 1; | ||
52 | } | ||
53 | EXPORT_SYMBOL(__clk_get); | ||
54 | |||
55 | void __clk_put(struct clk *clk) | ||
56 | { | ||
57 | } | ||
58 | 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 index 36d0163a857a..000000000000 --- a/arch/arm/mach-shmobile/include/mach/clkdev.h +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | #ifndef __ASM_MACH_CLKDEV_H | ||
2 | #define __ASM_MACH_CLKDEV_H | ||
3 | |||
4 | int __clk_get(struct clk *clk); | ||
5 | void __clk_put(struct clk *clk); | ||
6 | |||
7 | #endif /* __ASM_MACH_CLKDEV_H */ | ||