Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cpufreq: Prepare cleanup of powerpc's asm/prom.h

powerpc's asm/prom.h brings some headers that it doesn't
need itself.

In order to clean it up, first add missing headers in
users of asm/prom.h

Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

authored by

Christophe Leroy and committed by
Rafael J. Wysocki
95996a67 a85ee640

+3 -5
-1
drivers/cpufreq/pasemi-cpufreq.c
··· 18 18 19 19 #include <asm/hw_irq.h> 20 20 #include <asm/io.h> 21 - #include <asm/prom.h> 22 21 #include <asm/time.h> 23 22 #include <asm/smp.h> 24 23
+1 -1
drivers/cpufreq/pmac32-cpufreq.c
··· 24 24 #include <linux/device.h> 25 25 #include <linux/hardirq.h> 26 26 #include <linux/of_device.h> 27 - #include <asm/prom.h> 27 + 28 28 #include <asm/machdep.h> 29 29 #include <asm/irq.h> 30 30 #include <asm/pmac_feature.h>
+1 -1
drivers/cpufreq/pmac64-cpufreq.c
··· 22 22 #include <linux/completion.h> 23 23 #include <linux/mutex.h> 24 24 #include <linux/of_device.h> 25 - #include <asm/prom.h> 25 + 26 26 #include <asm/machdep.h> 27 27 #include <asm/irq.h> 28 28 #include <asm/sections.h>
-1
drivers/cpufreq/ppc_cbe_cpufreq.c
··· 12 12 #include <linux/of_platform.h> 13 13 14 14 #include <asm/machdep.h> 15 - #include <asm/prom.h> 16 15 #include <asm/cell-regs.h> 17 16 18 17 #include "ppc_cbe_cpufreq.h"
+1 -1
drivers/cpufreq/ppc_cbe_cpufreq_pmi.c
··· 13 13 #include <linux/init.h> 14 14 #include <linux/of_platform.h> 15 15 #include <linux/pm_qos.h> 16 + #include <linux/slab.h> 16 17 17 18 #include <asm/processor.h> 18 - #include <asm/prom.h> 19 19 #include <asm/pmi.h> 20 20 #include <asm/cell-regs.h> 21 21