[PATCH v2] atmel_lcdfb: fix warning: implicit declaration of function 'clk_get_rate'

Jean-Christophe PLAGNIOL-VILLARD plagnioj at jcrosoft.com
Sun Feb 3 05:09:22 EST 2013


Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
 drivers/video/atmel_lcdfb.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/video/atmel_lcdfb.c b/drivers/video/atmel_lcdfb.c
index 85f5cf1..08888cc 100644
--- a/drivers/video/atmel_lcdfb.c
+++ b/drivers/video/atmel_lcdfb.c
@@ -30,6 +30,7 @@
 #include <mach/cpu.h>
 #include <errno.h>
 #include <asm/mmu.h>
+#include <linux/clk.h>
 
 #include "atmel_lcdfb.h"
 
-- 
1.7.10.4




More information about the barebox mailing list