Merge tag 'pci-v4.5-changes' of git://git.kernel.org/pub/scm/linux/kernel/git/helgaas/pci
[linux-2.6-block.git] / arch / blackfin / include / asm / clkdev.h
CommitLineData
96900315
SM
1#ifndef __ASM_CLKDEV__H_
2#define __ASM_CLKDEV__H_
3
4#include <linux/slab.h>
5
6static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size)
7{
8 return kzalloc(size, GFP_KERNEL);
9}
10
ac2df527 11#ifndef CONFIG_COMMON_CLK
96900315
SM
12#define __clk_put(clk)
13#define __clk_get(clk) ({ 1; })
ac2df527 14#endif
96900315
SM
15
16#endif