Skip to contentSkip to conversation

Squash warning in ohci-pci.c on PowerBooks

TRIVIAL David Gibson 1 participant 1 message Mar 7, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Linus, please apply (patch is against 2.5.64):

Apple PowerBooks want <asm/prom.h> in ohci-pci.c for the prototype of pci_device_to_OF_node(). This patch adds it to the already present list of PowerBook specific #includes:

drivers/usb/host/ohci-pci.c +1 -0
diff -urN pmac-2.5-pristine/drivers/usb/host/ohci-pci.c linux-2.5-zax/drivers/usb/host/ohci-pci.c
@@ -18,6 +18,7 @@
 #include <asm/machdep.h>
 #include <asm/pmac_feature.h>
 #include <asm/pci-bridge.h>
+#include <asm/prom.h>
 #ifndef CONFIG_PM
 #	define CONFIG_PM
 #endif
Signature · 4 lines
David Gibson			| For every complex problem there is a
[email protected]	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson