Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | /* |
2 | * linux/arch/arm/mach-versatile/clock.h | |
3 | * | |
4 | * Copyright (C) 2004 ARM Limited. | |
5 | * Written by Deep Blue Solutions Limited. | |
6 | * | |
7 | * This program is free software; you can redistribute it and/or modify | |
8 | * it under the terms of the GNU General Public License version 2 as | |
9 | * published by the Free Software Foundation. | |
10 | */ | |
11 | struct module; | |
12 | struct icst307_params; | |
13 | ||
14 | struct clk { | |
15 | struct list_head node; | |
16 | unsigned long rate; | |
17 | struct module *owner; | |
18 | const char *name; | |
19 | const struct icst307_params *params; | |
20 | void *data; | |
21 | void (*setvco)(struct clk *, struct icst307_vco vco); | |
22 | }; | |
23 | ||
24 | int clk_register(struct clk *clk); | |
25 | void clk_unregister(struct clk *clk); |