License cleanup: add SPDX GPL-2.0 license identifier to files with no license
[linux-2.6-block.git] / arch / blackfin / include / asm / clkdev.h
CommitLineData
b2441318 1/* SPDX-License-Identifier: GPL-2.0 */
96900315
SM
2#ifndef __ASM_CLKDEV__H_
3#define __ASM_CLKDEV__H_
4
5#include <linux/slab.h>
6
7static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size)
8{
9 return kzalloc(size, GFP_KERNEL);
10}
11
ac2df527 12#ifndef CONFIG_COMMON_CLK
96900315
SM
13#define __clk_put(clk)
14#define __clk_get(clk) ({ 1; })
ac2df527 15#endif
96900315
SM
16
17#endif