aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-versatile/include/mach/clkdev.h
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2015-12-08 14:44:16 -0600
committerArnd Bergmann <arnd@arndb.de>2015-12-15 23:53:21 +0100
commit16956fed35fecde2201e23458cda193526b19559 (patch)
tree540334f3232efb2bd79c00aaa75dca6d4a7bea5f /arch/arm/mach-versatile/include/mach/clkdev.h
parentARM: versatile: add DT based PCI detection (diff)
downloadlinux-dev-16956fed35fecde2201e23458cda193526b19559.tar.xz
linux-dev-16956fed35fecde2201e23458cda193526b19559.zip
ARM: versatile: switch to DT only booting and remove legacy code
With DT support for clocks, irqchips, timers, and PCI now in place, DT based booting has feature parity with non-DT legacy boot. The final piece is actually enabling common clock support on Versatile. Enabling full DT support requires either removing the old Versatile clock code, updating the legacy boot to use the common clock code, or making DT and legacy boot mutually exclusive. Given that removing legacy boot code is the goal anyway, I am going with the 1st option. Signed-off-by: Rob Herring <robh@kernel.org> Cc: Russell King <linux@arm.linux.org.uk> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Mike Turquette <mturquette@linaro.org> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-versatile/include/mach/clkdev.h')
-rw-r--r--arch/arm/mach-versatile/include/mach/clkdev.h16
1 files changed, 0 insertions, 16 deletions
diff --git a/arch/arm/mach-versatile/include/mach/clkdev.h b/arch/arm/mach-versatile/include/mach/clkdev.h
deleted file mode 100644
index e58d0771b64e..000000000000
--- a/arch/arm/mach-versatile/include/mach/clkdev.h
+++ /dev/null
@@ -1,16 +0,0 @@
-#ifndef __ASM_MACH_CLKDEV_H
-#define __ASM_MACH_CLKDEV_H
-
-#include <plat/clock.h>
-
-struct clk {
- unsigned long rate;
- const struct clk_ops *ops;
- const struct icst_params *params;
- void __iomem *vcoreg;
-};
-
-#define __clk_get(clk) ({ 1; })
-#define __clk_put(clk) do { } while (0)
-
-#endif