powerpc: Move include files to arch/powerpc/include/asm
from include/asm-powerpc. This is the result of a mkdir arch/powerpc/include/asm git mv include/asm-powerpc/* arch/powerpc/include/asm Followed by a few documentation/comment fixups and a couple of places where <asm-powepc/...> was being used explicitly. Of the latter only one was outside the arch code and it is a driver only built for powerpc. Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au> Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
committed by
Paul Mackerras
parent
2b12a4c524
commit
b8b572e101
20
arch/powerpc/include/asm/clk_interface.h
Normal file
20
arch/powerpc/include/asm/clk_interface.h
Normal file
@ -0,0 +1,20 @@
|
||||
#ifndef __ASM_POWERPC_CLK_INTERFACE_H
|
||||
#define __ASM_POWERPC_CLK_INTERFACE_H
|
||||
|
||||
#include <linux/clk.h>
|
||||
|
||||
struct clk_interface {
|
||||
struct clk* (*clk_get) (struct device *dev, const char *id);
|
||||
int (*clk_enable) (struct clk *clk);
|
||||
void (*clk_disable) (struct clk *clk);
|
||||
unsigned long (*clk_get_rate) (struct clk *clk);
|
||||
void (*clk_put) (struct clk *clk);
|
||||
long (*clk_round_rate) (struct clk *clk, unsigned long rate);
|
||||
int (*clk_set_rate) (struct clk *clk, unsigned long rate);
|
||||
int (*clk_set_parent) (struct clk *clk, struct clk *parent);
|
||||
struct clk* (*clk_get_parent) (struct clk *clk);
|
||||
};
|
||||
|
||||
extern struct clk_interface clk_functions;
|
||||
|
||||
#endif /* __ASM_POWERPC_CLK_INTERFACE_H */
|
Reference in New Issue
Block a user