Skip to content

Commit 95996a6

Browse files
chleroyrafaeljw
authored andcommitted
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>
1 parent a85ee64 commit 95996a6

File tree

5 files changed

+3
-5
lines changed

5 files changed

+3
-5
lines changed

drivers/cpufreq/pasemi-cpufreq.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
#include <asm/hw_irq.h>
2020
#include <asm/io.h>
21-
#include <asm/prom.h>
2221
#include <asm/time.h>
2322
#include <asm/smp.h>
2423

drivers/cpufreq/pmac32-cpufreq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
#include <linux/device.h>
2525
#include <linux/hardirq.h>
2626
#include <linux/of_device.h>
27-
#include <asm/prom.h>
27+
2828
#include <asm/machdep.h>
2929
#include <asm/irq.h>
3030
#include <asm/pmac_feature.h>

drivers/cpufreq/pmac64-cpufreq.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <linux/completion.h>
2323
#include <linux/mutex.h>
2424
#include <linux/of_device.h>
25-
#include <asm/prom.h>
25+
2626
#include <asm/machdep.h>
2727
#include <asm/irq.h>
2828
#include <asm/sections.h>

drivers/cpufreq/ppc_cbe_cpufreq.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
#include <linux/of_platform.h>
1313

1414
#include <asm/machdep.h>
15-
#include <asm/prom.h>
1615
#include <asm/cell-regs.h>
1716

1817
#include "ppc_cbe_cpufreq.h"

drivers/cpufreq/ppc_cbe_cpufreq_pmi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@
1313
#include <linux/init.h>
1414
#include <linux/of_platform.h>
1515
#include <linux/pm_qos.h>
16+
#include <linux/slab.h>
1617

1718
#include <asm/processor.h>
18-
#include <asm/prom.h>
1919
#include <asm/pmi.h>
2020
#include <asm/cell-regs.h>
2121

0 commit comments

Comments
 (0)