]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
ENGR00170922 [MX6Q]fix build error if disable SMP
authorTony Lin <tony.lin@freescale.com>
Fri, 23 Dec 2011 02:51:55 +0000 (10:51 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:33:41 +0000 (08:33 +0200)
fail log:

cpu_regulator-mx6.c: In function 'mx6_cpu_regulator_init':
cpu_regulator-mx6.c:87: error: 'loops_per_jiffy' undeclared

Signed-off-by: Tony Lin <tony.lin@freescale.com>
arch/arm/mach-mx6/cpu_regulator-mx6.c

index f973c5ae4f9b03e4296f925ec9170ad07b0f217c..779ed62eea53f3f9cf3098baec38847420567727 100644 (file)
@@ -32,6 +32,8 @@ static int cpu_op_nr;
 static struct cpu_op *cpu_op_tbl;
 extern struct cpu_op *(*get_cpu_op)(int *op);
 
+extern unsigned long loops_per_jiffy;
+
 static inline unsigned long mx6_cpu_jiffies(unsigned long old, u_int div,
                                              u_int mult)
 {