mirror of
				https://github.com/torvalds/linux.git
				synced 2025-11-04 10:40:15 +02:00 
			
		
		
		
	As both pxa and sa1100 provide a clock to the timer, the rate can be inferred from the clock rather than hard encoded in a functional call. This patch changes the pxa timer to have a mandatory clock which is used as the timer rate. Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Russell King <rmk+kernel@armlinux.org.uk>
		
			
				
	
	
		
			17 lines
		
	
	
	
		
			443 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
	
		
			443 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*
 | 
						|
 * PXA clocksource, clockevents, and OST interrupt handlers.
 | 
						|
 *
 | 
						|
 * Copyright (C) 2014 Robert Jarzmik
 | 
						|
 *
 | 
						|
 * This program is free software; you can redistribute it and/or modify
 | 
						|
 * it under the terms of the GNU General Public License as published by
 | 
						|
 * the Free Software Foundation; version 2 of the License.
 | 
						|
 *
 | 
						|
 */
 | 
						|
 | 
						|
#ifndef _CLOCKSOURCE_PXA_H
 | 
						|
#define _CLOCKSOURCE_PXA_H
 | 
						|
 | 
						|
extern void pxa_timer_nodt_init(int irq, void __iomem *base);
 | 
						|
 | 
						|
#endif
 |