瀏覽代碼

blackfin: Use generic clkdev.h header

The generic header file is equivalent to the blackfin version, so
just use the generic one.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Stephen Boyd 9 年之前
父節點
當前提交
590f306bc8
共有 2 個文件被更改,包括 1 次插入17 次删除
  1. 1 0
      arch/blackfin/include/asm/Kbuild
  2. 0 17
      arch/blackfin/include/asm/clkdev.h

+ 1 - 0
arch/blackfin/include/asm/Kbuild

@@ -1,4 +1,5 @@
 generic-y += bugs.h
+generic-y += clkdev.h
 generic-y += current.h
 generic-y += device.h
 generic-y += div64.h

+ 0 - 17
arch/blackfin/include/asm/clkdev.h

@@ -1,17 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef __ASM_CLKDEV__H_
-#define __ASM_CLKDEV__H_
-
-#include <linux/slab.h>
-
-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