summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorTimo Teras <timo.teras@solidboot.com>2006-09-25 12:41:42 +0300
committerTony Lindgren <tony@atomide.com>2006-09-25 12:41:42 +0300
commit12583a70ac6b6641905e37fdd61a7f711fb4ce2b (patch)
tree3b494d5d846615c21ebe431f053e931eb403e5e4 /include
parent893a668ee2a0bd28fbeb639ae97dd60ec8b7db66 (diff)
downloadop-kernel-dev-12583a70ac6b6641905e37fdd61a7f711fb4ce2b.zip
op-kernel-dev-12583a70ac6b6641905e37fdd61a7f711fb4ce2b.tar.gz
ARM: OMAP: Add enable/disable functions for dmtimer
Add enable/disable functions which effectively control the GPT iclk and fclk. Signed-off-by: Timo Teras <timo.teras@solidboot.com> Signed-off-by: Juha Yrjola <juha.yrjola@solidboot.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'include')
-rw-r--r--include/asm-arm/arch-omap/dmtimer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-arm/arch-omap/dmtimer.h b/include/asm-arm/arch-omap/dmtimer.h
index 7a289ff..b5f3a71 100644
--- a/include/asm-arm/arch-omap/dmtimer.h
+++ b/include/asm-arm/arch-omap/dmtimer.h
@@ -52,6 +52,8 @@ int omap_dm_timer_init(void);
struct omap_dm_timer *omap_dm_timer_request(void);
struct omap_dm_timer *omap_dm_timer_request_specific(int timer_id);
void omap_dm_timer_free(struct omap_dm_timer *timer);
+void omap_dm_timer_enable(struct omap_dm_timer *timer);
+void omap_dm_timer_disable(struct omap_dm_timer *timer);
int omap_dm_timer_get_irq(struct omap_dm_timer *timer);
OpenPOWER on IntegriCloud