Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 590f306b authored by Stephen Boyd's avatar Stephen Boyd
Browse files

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: default avatarStephen Boyd <sboyd@codeaurora.org>
parent 4fbd8d19
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
generic-y += bugs.h
generic-y += clkdev.h
generic-y += current.h
generic-y += device.h
generic-y += div64.h
+0 −17
Original line number Diff line number Diff line
/* 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