summaryrefslogtreecommitdiffstats
path: root/drivers/macintosh/windfarm_pm91.c
diff options
context:
space:
mode:
authorChristophe Leroy <christophe.leroy@csgroup.eu>2022-04-01 19:15:53 +0200
committerMichael Ellerman <mpe@ellerman.id.au>2022-05-11 23:06:39 +1000
commita486e512d1f3fb93b0406ab125f35777d22b47ba (patch)
treeee64e943f4e56b2bf7ea1dde7131b7438cddd2b8 /drivers/macintosh/windfarm_pm91.c
parent1751289268ef959db68b0b6f798d904d6403309a (diff)
downloadlinux-a486e512d1f3fb93b0406ab125f35777d22b47ba.tar.gz
linux-a486e512d1f3fb93b0406ab125f35777d22b47ba.tar.bz2
linux-a486e512d1f3fb93b0406ab125f35777d22b47ba.zip
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_pm91.c')
-rw-r--r--drivers/macintosh/windfarm_pm91.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/macintosh/windfarm_pm91.c b/drivers/macintosh/windfarm_pm91.c
index 3f346af9e3f7..c8535855360d 100644
--- a/drivers/macintosh/windfarm_pm91.c
+++ b/drivers/macintosh/windfarm_pm91.c
@@ -37,7 +37,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>