public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [TRIVIAL] Squash warning in ohci-pci.c on PowerBooks
@ 2003-03-07  5:30 David Gibson
  0 siblings, 0 replies; only message in thread
From: David Gibson @ 2003-03-07  5:30 UTC (permalink / raw)
  To: Linus Torvalds, Benjamin Herrenschmidt, Greg Kroah-Hartman
  Cc: linux-kernel, trivial

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:

diff -urN pmac-2.5-pristine/drivers/usb/host/ohci-pci.c linux-2.5-zax/drivers/usb/host/ohci-pci.c
--- pmac-2.5-pristine/drivers/usb/host/ohci-pci.c	2003-03-03 13:43:41.000000000 +1100
+++ linux-2.5-zax/drivers/usb/host/ohci-pci.c	2003-03-07 15:32:12.000000000 +1100
@@ -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


-- 
David Gibson			| For every complex problem there is a
david@gibson.dropbear.id.au	| solution which is simple, neat and
				| wrong.
http://www.ozlabs.org/people/dgibson

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-03-07  5:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-07  5:30 [TRIVIAL] Squash warning in ohci-pci.c on PowerBooks David Gibson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox