]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
c6x: Use generic clkdev.h header
authorStephen Boyd <sboyd@codeaurora.org>
Tue, 15 Sep 2015 23:09:22 +0000 (16:09 -0700)
committerMark Salter <msalter@redhat.com>
Wed, 16 Sep 2015 13:51:04 +0000 (09:51 -0400)
The c6x clkdev.h header is the same as the asm-generic header, so
just use the asm-generic one.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mark Salter <msalter@redhat.com>
arch/c6x/include/asm/Kbuild
arch/c6x/include/asm/clkdev.h [deleted file]

index f17c4dc6050c7d23ade635f749aa75eed8f0ac1d..a9bc2c5106d2f5090b83ed994f75320a1c9d4c59 100644 (file)
@@ -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 (file)
index 76a070b..0000000
+++ /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 */