sync hh.org
[hh.org.git] / include / asm-arm / arch-pxa / clock.h
blob62a087e6ac99658d8f3a97a542257b3ef8b806d9
1 /*
2 * linux/include/asm-arm/arch-pxa/clock.h
4 * Copyright (C) 2006 Erik Hovland
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 */
11 struct clk {
12 struct list_head node;
13 unsigned long rate;
14 struct module *owner;
15 struct clk *parent;
16 const char *name;
17 unsigned int enabled;
18 unsigned long priv;
19 void (*enable)(struct clk *);
20 void (*disable)(struct clk *);
24 extern int clk_register(struct clk *clk);
25 extern void clk_unregister(struct clk *clk);