diff options
author | Paul Mundt <lethal@linux-sh.org> | 2009-05-03 17:57:17 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2009-05-03 17:57:17 +0900 |
commit | 46a12f7426d71cabc08972cf8d3ffdd441d26a3a (patch) | |
tree | 40689b826cc2b24d62bc5be1e08db27593072873 /include/linux/sh_timer.h | |
parent | d43a41bf8b504a1d9f0b4ce7e17d803f4ef39d84 (diff) | |
download | linux-stable-46a12f7426d71cabc08972cf8d3ffdd441d26a3a.tar.gz linux-stable-46a12f7426d71cabc08972cf8d3ffdd441d26a3a.tar.bz2 linux-stable-46a12f7426d71cabc08972cf8d3ffdd441d26a3a.zip |
sh: Consolidate MTU2/CMT/TMU timer platform data.
All of the SH timers use a roughly identical structure for platform data,
which presently is broken out for each block. Consolidate all of these
definitions, as there is no reason for them to be broken out in the first
place.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/linux/sh_timer.h')
-rw-r--r-- | include/linux/sh_timer.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/sh_timer.h b/include/linux/sh_timer.h new file mode 100644 index 000000000000..864bd56bd3b0 --- /dev/null +++ b/include/linux/sh_timer.h @@ -0,0 +1,13 @@ +#ifndef __SH_TIMER_H__ +#define __SH_TIMER_H__ + +struct sh_timer_config { + char *name; + long channel_offset; + int timer_bit; + char *clk; + unsigned long clockevent_rating; + unsigned long clocksource_rating; +}; + +#endif /* __SH_TIMER_H__ */ |