diff options
author | Tony Lin <tony.lin@freescale.com> | 2011-12-23 10:51:55 +0800 |
---|---|---|
committer | Tony Lin <tony.lin@freescale.com> | 2011-12-26 11:14:09 +0800 |
commit | c459d89a89b4e6e9295447eea7fd3e42e12de52c (patch) | |
tree | 77b943fc1374aca45a9d02ef2f78c9c0174a842b /arch | |
parent | 0aa2cba73d85c3012b314a5bd84c50cd98274dd9 (diff) |
ENGR00170922 [MX6Q]fix build error if disable SMP
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>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx6/cpu_regulator-mx6.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx6/cpu_regulator-mx6.c b/arch/arm/mach-mx6/cpu_regulator-mx6.c index f973c5ae4f9b..779ed62eea53 100644 --- a/arch/arm/mach-mx6/cpu_regulator-mx6.c +++ b/arch/arm/mach-mx6/cpu_regulator-mx6.c @@ -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) { |