summaryrefslogtreecommitdiff
path: root/drivers/macintosh/windfarm_pm121.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-04-01 20:15:53 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2022-05-11 16:06:39 +0300
commita486e512d1f3fb93b0406ab125f35777d22b47ba (patch)
treeee64e943f4e56b2bf7ea1dde7131b7438cddd2b8 /drivers/macintosh/windfarm_pm121.c
parent1751289268ef959db68b0b6f798d904d6403309a (diff)
downloadlinux-a486e512d1f3fb93b0406ab125f35777d22b47ba.tar.xz
macintosh: 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> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/04961364547fe4556e30cb302b0e20a939b83426.1648833027.git.christophe.leroy@csgroup.eu
Diffstat (limited to 'drivers/macintosh/windfarm_pm121.c')
-rw-r--r--drivers/macintosh/windfarm_pm121.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/macintosh/windfarm_pm121.c b/drivers/macintosh/windfarm_pm121.c
index ba1ec6fc11d2..36312f163aac 100644
--- a/drivers/macintosh/windfarm_pm121.c
+++ b/drivers/macintosh/windfarm_pm121.c
@@ -201,7 +201,8 @@
#include <linux/kmod.h>
#include <linux/device.h>
#include <linux/platform_device.h>
-#include <asm/prom.h>
+#include <linux/of.h>
+
#include <asm/machdep.h>
#include <asm/io.h>
#include <asm/sections.h>