diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-12 22:00:16 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-01-12 22:00:16 +0100 |
commit | 75777c1855e10c010c9c3a21611d95dd9be01ab1 (patch) | |
tree | 9272331ff0709629cc8a1dcbf9dbd856c0fc345a /arch/c6x | |
parent | Merge branch 'component' of git://ftp.arm.linux.org.uk/~rmk/linux-arm (diff) | |
parent | c6x: Use generic clkdev.h header (diff) | |
download | linux-75777c1855e10c010c9c3a21611d95dd9be01ab1.tar.xz linux-75777c1855e10c010c9c3a21611d95dd9be01ab1.zip |
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 generic-y += barrier.h generic-y += bitsperlong.h generic-y += bugs.h +generic-y += clkdev.h generic-y += cputime.h generic-y += current.h 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 @@ -#ifndef _ASM_CLKDEV_H -#define _ASM_CLKDEV_H - -#include <linux/slab.h> - -struct clk; - -static inline int __clk_get(struct clk *clk) -{ - return 1; -} - -static inline void __clk_put(struct clk *clk) -{ -} - -static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size) -{ - return kzalloc(size, GFP_KERNEL); -} - -#endif /* _ASM_CLKDEV_H */ |