Signed-off-by: Andrey Panov <rockford@xxxxxxxxx> --- include/linux/barebox-wrapper.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/linux/barebox-wrapper.h b/include/linux/barebox-wrapper.h index d34d1d1..3859185 100644 --- a/include/linux/barebox-wrapper.h +++ b/include/linux/barebox-wrapper.h @@ -73,4 +73,10 @@ typedef int irqreturn_t; #define IRQ_NONE 0 #define IRQ_HANDLED 0 +/* To ease clk drivers porting from Linux kernel */ +#define __clk_get_name(clk) (clk->name) +#define __clk_lookup clk_lookup +#define __clk_get_rate clk_get_rate +#define __clk_get_parent clk_get_parent + #endif /* __INCLUDE_LINUX_BAREBOX_WRAPPER_H */ -- 2.1.4 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox