projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clk: Add common __clk_get(), __clk_put() implementations
[linux-2.6-microblaze.git]
/
arch
/
sh
/
include
/
asm
/
clkdev.h
diff --git
a/arch/sh/include/asm/clkdev.h
b/arch/sh/include/asm/clkdev.h
index
6ba9186
..
c419014
100644
(file)
--- a/
arch/sh/include/asm/clkdev.h
+++ b/
arch/sh/include/asm/clkdev.h
@@
-25,7
+25,9
@@
static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size)
return kzalloc(size, GFP_KERNEL);
}
+#ifndef CONFIG_COMMON_CLK
#define __clk_put(clk)
#define __clk_get(clk) ({ 1; })
+#endif
#endif /* __CLKDEV_H__ */