Commit 9a2ff498 authored by Yves Rutschle's avatar Yves Rutschle Committed by Russell King

[ARM] Fix LART build.

Patch from Yves Rutschle.

This cset allows LART to build again.
parent 2ef21770
......@@ -194,7 +194,7 @@ static int sa1100_target(struct cpufreq_policy *policy,
new_ppcr = sa11x0_freq_to_ppcr(target_freq);
if ((sa11x0_ppcr_to_freq(new_ppcr) > target_freq) &&
(sa11x0_ppcr_to_freq(new_ppcr - 1) >= policy->min))
mew_ppcr--;
new_ppcr--;
break;
}
......
......@@ -8,6 +8,7 @@
#include <asm/hardware.h>
#include <asm/setup.h>
#include <asm/mach-types.h>
#include <asm/mach/arch.h>
#include <asm/mach/map.h>
......
......@@ -42,6 +42,7 @@
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/types.h>
#include <linux/init.h>
#include <linux/errno.h>
#include <linux/mtd/mtd.h>
#ifdef HAVE_PARTITIONS
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment