diff options
author | Wang Dongsheng <dongsheng.wang@freescale.com> | 2014-03-06 08:42:48 (GMT) |
---|---|---|
committer | Jose Rivera <German.Rivera@freescale.com> | 2014-03-21 13:13:24 (GMT) |
commit | d3844445b26bb85da2f1430c9f10babedd335f9c (patch) | |
tree | 2689f233dc53a029a39861449de1fbb8764b7bf5 /drivers/cpufreq | |
parent | 504b615e3dd04d0e347174a7fb6d41da3b06cfb9 (diff) | |
download | linux-fsl-qoriq-d3844445b26bb85da2f1430c9f10babedd335f9c.tar.xz |
powerpc/mpc85xx: fix a build issue when user use mpc85xx_defconfig
if we enable cpufreq feature we will get a build error.
drivers/cpufreq/mpc85xx-cpufreq.c: In function 'p1022_set_pll':
drivers/cpufreq/mpc85xx-cpufreq.c:145:2: error: implicit declaration of
function 'get_hard_smp_processor_id' [-Werror=implicit-function-declaration]
It's miss a include <asm/smp.h>
Signed-off-by: Wang Dongsheng <dongsheng.wang@freescale.com>
Change-Id: I805969b909e269fcfeb1abce30b987baf9c60399
Reviewed-on: http://git.am.freescale.net:8181/9453
Reviewed-by: Scott Wood <scottwood@freescale.com>
Reviewed-by: Jose Rivera <German.Rivera@freescale.com>
Tested-by: Jose Rivera <German.Rivera@freescale.com>
Diffstat (limited to 'drivers/cpufreq')
-rw-r--r-- | drivers/cpufreq/mpc85xx-cpufreq.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/cpufreq/mpc85xx-cpufreq.c b/drivers/cpufreq/mpc85xx-cpufreq.c index ef31a9a..9b3f7fa 100644 --- a/drivers/cpufreq/mpc85xx-cpufreq.c +++ b/drivers/cpufreq/mpc85xx-cpufreq.c @@ -24,6 +24,7 @@ #include <linux/smp.h> #include <asm/prom.h> +#include <asm/smp.h> #include <asm/reg.h> #include <asm/machdep.h> |