mirror of
				https://git.kernel.org/pub/scm/linux/kernel/git/chenhuacai/linux-loongson
				synced 2025-10-31 18:36:37 +00:00 
			
		
		
		
	 46a12f7426
			
		
	
	
		46a12f7426
		
	
	
	
	
		
			
			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>
		
			
				
	
	
		
			14 lines
		
	
	
		
			236 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			236 B
		
	
	
	
		
			C
		
	
	
	
	
	
| #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__ */
 |