acpiphp: Execute ACPI _REG method for hotadded devices
[linux/fpc-iii.git] / arch / arm / mach-integrator / include / mach / clkdev.h
blob9293e410832a76f52db88d59486f658f194adad8
1 #ifndef __ASM_MACH_CLKDEV_H
2 #define __ASM_MACH_CLKDEV_H
4 #include <linux/module.h>
5 #include <asm/hardware/icst525.h>
7 struct clk {
8 unsigned long rate;
9 struct module *owner;
10 const struct icst525_params *params;
11 void *data;
12 void (*setvco)(struct clk *, struct icst525_vco vco);
15 static inline int __clk_get(struct clk *clk)
17 return try_module_get(clk->owner);
20 static inline void __clk_put(struct clk *clk)
22 module_put(clk->owner);
25 #endif