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

Commit ca3060d3 authored by Stephen Boyd's avatar Stephen Boyd Committed by Mark Salter
Browse files

c6x: Use generic clkdev.h header



The c6x clkdev.h header is the same as the asm-generic header, so
just use the asm-generic one.

Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
Signed-off-by: default avatarMark Salter <msalter@redhat.com>
parent 6ff33f39
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4,6 +4,7 @@ generic-y += auxvec.h
generic-y += barrier.h
generic-y += bitsperlong.h
generic-y += bugs.h
generic-y += clkdev.h
generic-y += cputime.h
generic-y += current.h
generic-y += device.h

arch/c6x/include/asm/clkdev.h

deleted100644 → 0
+0 −22
Original line number Diff line number Diff line
#ifndef _ASM_CLKDEV_H
#define _ASM_CLKDEV_H

#include <linux/slab.h>

struct clk;

static inline int __clk_get(struct clk *clk)
{
	return 1;
}

static inline void __clk_put(struct clk *clk)
{
}

static inline struct clk_lookup_alloc *__clkdev_alloc(size_t size)
{
	return kzalloc(size, GFP_KERNEL);
}

#endif /* _ASM_CLKDEV_H */