mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-11-01 08:58:07 +00:00
71a06da08c
People often point to the Integrator/Versatile/Realview implementations to justify using the consumer name as the sole selector for clocks. Eliminate this excuse by changing the Versatile implementation, so it provides a better example of how it should be done. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
20 lines
524 B
C
20 lines
524 B
C
/*
|
|
* linux/arch/arm/mach-versatile/clock.h
|
|
*
|
|
* Copyright (C) 2004 ARM Limited.
|
|
* Written by Deep Blue Solutions Limited.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
struct module;
|
|
struct icst307_params;
|
|
|
|
struct clk {
|
|
unsigned long rate;
|
|
const struct icst307_params *params;
|
|
u32 oscoff;
|
|
void *data;
|
|
void (*setvco)(struct clk *, struct icst307_vco vco);
|
|
};
|