mirror of
https://github.com/u-boot/u-boot.git
synced 2025-05-08 19:11:53 +00:00
dm: timer: Fix several nits
This changes 'Timer' to 'timer' at several places. Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Thomas Chou <thomas@wytron.com.tw> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
4a421a67b6
commit
435ae76edd
3 changed files with 14 additions and 13 deletions
|
@ -10,30 +10,31 @@
|
|||
/*
|
||||
* Get the current timer count
|
||||
*
|
||||
* @dev: The Timer device
|
||||
* @dev: The timer device
|
||||
* @count: pointer that returns the current timer count
|
||||
* @return: 0 if OK, -ve on error
|
||||
*/
|
||||
int timer_get_count(struct udevice *dev, unsigned long *count);
|
||||
|
||||
/*
|
||||
* Get the timer input clock frequency
|
||||
*
|
||||
* @dev: The Timer device
|
||||
* @dev: The timer device
|
||||
* @return: the timer input clock frequency
|
||||
*/
|
||||
unsigned long timer_get_rate(struct udevice *dev);
|
||||
|
||||
/*
|
||||
* struct timer_ops - Driver model Timer operations
|
||||
* struct timer_ops - Driver model timer operations
|
||||
*
|
||||
* The uclass interface is implemented by all Timer devices which use
|
||||
* The uclass interface is implemented by all timer devices which use
|
||||
* driver model.
|
||||
*/
|
||||
struct timer_ops {
|
||||
/*
|
||||
* Get the current timer count
|
||||
*
|
||||
* @dev: The Timer device
|
||||
* @dev: The timer device
|
||||
* @count: pointer that returns the current timer count
|
||||
* @return: 0 if OK, -ve on error
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue