diff options
author | Bartosz Golaszewski <bgolaszewski@baylibre.com> | 2020-01-10 18:16:43 +0100 |
---|---|---|
committer | Sekhar Nori <nsekhar@ti.com> | 2020-01-13 08:50:00 +0100 |
commit | 6b49d4fbcbc2ad98c234da2b344865508eed7bf4 (patch) | |
tree | 40a5ab23ee2182aea6fd1eef2f7eb57ec3578000 /arch/arm/mach-davinci/devices.c | |
parent | ARM: davinci: dm365: switch to using the clocksource driver (diff) | |
download | linux-6b49d4fbcbc2ad98c234da2b344865508eed7bf4.tar.xz linux-6b49d4fbcbc2ad98c234da2b344865508eed7bf4.zip |
ARM: davinci: remove legacy timer support
All platforms have now been switched to the new clocksource driver.
Remove the old code and various no longer needed bits and pieces.
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Reviewed-by: David Lechner <david@lechnology.com>
Signed-off-by: Sekhar Nori <nsekhar@ti.com>
Diffstat (limited to 'arch/arm/mach-davinci/devices.c')
-rw-r--r-- | arch/arm/mach-davinci/devices.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/mach-davinci/devices.c b/arch/arm/mach-davinci/devices.c index 3e447d468845..d912d62a0eca 100644 --- a/arch/arm/mach-davinci/devices.c +++ b/arch/arm/mach-davinci/devices.c @@ -17,7 +17,6 @@ #include <mach/hardware.h> #include <mach/cputype.h> #include <mach/mux.h> -#include <mach/time.h> #include "davinci.h" #include "irqs.h" @@ -303,21 +302,3 @@ int davinci_gpio_register(struct resource *res, int size, void *pdata) davinci_gpio_device.dev.platform_data = pdata; return platform_device_register(&davinci_gpio_device); } - -/*-------------------------------------------------------------------------*/ - -/*-------------------------------------------------------------------------*/ - -struct davinci_timer_instance davinci_timer_instance[2] = { - { - .base = DAVINCI_TIMER0_BASE, - .bottom_irq = DAVINCI_INTC_IRQ(IRQ_TINT0_TINT12), - .top_irq = DAVINCI_INTC_IRQ(IRQ_TINT0_TINT34), - }, - { - .base = DAVINCI_TIMER1_BASE, - .bottom_irq = DAVINCI_INTC_IRQ(IRQ_TINT1_TINT12), - .top_irq = DAVINCI_INTC_IRQ(IRQ_TINT1_TINT34), - }, -}; - |