Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

+1 -17
+1
arch/blackfin/include/asm/Kbuild
··· 1 1 generic-y += bugs.h 2 + generic-y += clkdev.h 2 3 generic-y += current.h 3 4 generic-y += device.h 4 5 generic-y += div64.h
-17
arch/blackfin/include/asm/clkdev.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 2 - #ifndef __ASM_CLKDEV__H_ 3 - #define __ASM_CLKDEV__H_ 4 - 5 - #include <linux/slab.h> 6 - 7 - static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size) 8 - { 9 - return kzalloc(size, GFP_KERNEL); 10 - } 11 - 12 - #ifndef CONFIG_COMMON_CLK 13 - #define __clk_put(clk) 14 - #define __clk_get(clk) ({ 1; }) 15 - #endif 16 - 17 - #endif