diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-12 16:00:16 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-12 16:00:16 -0500 |
commit | 75777c1855e10c010c9c3a21611d95dd9be01ab1 (patch) | |
tree | 9272331ff0709629cc8a1dcbf9dbd856c0fc345a /arch/c6x | |
parent | c3ce79d6a89e25fe0db1851b1b72e6d0dffc8a66 (diff) | |
parent | ca3060d39ae7a0964f8c123a4833029981e86476 (diff) |
Merge branch 'for-linux-next' of git://linux-c6x.org/git/projects/linux-c6x-upstreaming
Pull tiny c6x update from Mark Salter.
* 'for-linux-next' of git://linux-c6x.org/git/projects/linux-c6x-upstreaming:
c6x: Use generic clkdev.h header
Diffstat (limited to 'arch/c6x')
-rw-r--r-- | arch/c6x/include/asm/Kbuild | 1 | ||||
-rw-r--r-- | arch/c6x/include/asm/clkdev.h | 22 |
2 files changed, 1 insertions, 22 deletions
diff --git a/arch/c6x/include/asm/Kbuild b/arch/c6x/include/asm/Kbuild index 945544ec603e..64465e7e2245 100644 --- a/arch/c6x/include/asm/Kbuild +++ b/arch/c6x/include/asm/Kbuild | |||
@@ -4,6 +4,7 @@ generic-y += auxvec.h | |||
4 | generic-y += barrier.h | 4 | generic-y += barrier.h |
5 | generic-y += bitsperlong.h | 5 | generic-y += bitsperlong.h |
6 | generic-y += bugs.h | 6 | generic-y += bugs.h |
7 | generic-y += clkdev.h | ||
7 | generic-y += cputime.h | 8 | generic-y += cputime.h |
8 | generic-y += current.h | 9 | generic-y += current.h |
9 | generic-y += device.h | 10 | generic-y += device.h |
diff --git a/arch/c6x/include/asm/clkdev.h b/arch/c6x/include/asm/clkdev.h deleted file mode 100644 index 76a070b1c2e5..000000000000 --- a/arch/c6x/include/asm/clkdev.h +++ /dev/null | |||
@@ -1,22 +0,0 @@ | |||
1 | #ifndef _ASM_CLKDEV_H | ||
2 | #define _ASM_CLKDEV_H | ||
3 | |||
4 | #include <linux/slab.h> | ||
5 | |||
6 | struct clk; | ||
7 | |||
8 | static inline int __clk_get(struct clk *clk) | ||
9 | { | ||
10 | return 1; | ||
11 | } | ||
12 | |||
13 | static inline void __clk_put(struct clk *clk) | ||
14 | { | ||
15 | } | ||
16 | |||
17 | static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size) | ||
18 | { | ||
19 | return kzalloc(size, GFP_KERNEL); | ||
20 | } | ||
21 | |||
22 | #endif /* _ASM_CLKDEV_H */ | ||