diff options
author | Russell King <rmk@dyn-67.arm.linux.org.uk> | 2008-11-08 20:05:55 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2008-11-27 12:38:21 +0000 |
commit | cf30fb4a4f2d261a6527a654a7fdc8636f1e5b16 (patch) | |
tree | 2bb46da438fe09e8c8bc14ad21e1755d8e1ed9f3 /arch/arm/mach-realview/include | |
parent | 0318e693d3a56836632bf1a2cfdafb7f34bcc703 (diff) | |
download | talos-obmc-linux-cf30fb4a4f2d261a6527a654a7fdc8636f1e5b16.tar.gz talos-obmc-linux-cf30fb4a4f2d261a6527a654a7fdc8636f1e5b16.zip |
[ARM] realview: convert to clkdev and lookup clocks by device name
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 Realview implementation, so
it provides a better example of how it should be done.
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview/include')
-rw-r--r-- | arch/arm/mach-realview/include/mach/clkdev.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/mach-realview/include/mach/clkdev.h b/arch/arm/mach-realview/include/mach/clkdev.h new file mode 100644 index 000000000000..04b37a89801c --- /dev/null +++ b/arch/arm/mach-realview/include/mach/clkdev.h @@ -0,0 +1,7 @@ +#ifndef __ASM_MACH_CLKDEV_H +#define __ASM_MACH_CLKDEV_H + +#define __clk_get(clk) ({ 1; }) +#define __clk_put(clk) do { } while (0) + +#endif |