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>
This commit is contained in:
Paul Mundt
2009-05-03 17:57:17 +09:00
parent d43a41bf8b
commit 46a12f7426
17 changed files with 69 additions and 97 deletions

View File

@@ -1,13 +0,0 @@
#ifndef __SH_CMT_H__
#define __SH_CMT_H__
struct sh_cmt_config {
char *name;
unsigned long channel_offset;
int timer_bit;
char *clk;
unsigned long clockevent_rating;
unsigned long clocksource_rating;
};
#endif /* __SH_CMT_H__ */

View File

@@ -1,12 +0,0 @@
#ifndef __SH_MTU2_H__
#define __SH_MTU2_H__
struct sh_mtu2_config {
char *name;
int channel_offset;
int timer_bit;
char *clk;
unsigned long clockevent_rating;
};
#endif /* __SH_MTU2_H__ */

13
include/linux/sh_timer.h Normal file
View File

@@ -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__ */

View File

@@ -1,13 +0,0 @@
#ifndef __SH_TMU_H__
#define __SH_TMU_H__
struct sh_tmu_config {
char *name;
unsigned long channel_offset;
int timer_bit;
char *clk;
unsigned long clockevent_rating;
unsigned long clocksource_rating;
};
#endif /* __SH_TMU_H__ */