lkml.org 
[lkml]   [2003]   [Mar]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[TRIVIAL] Squash warning in ohci-pci.c on PowerBooks
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
\
 
 \ /
  Last update: 2005-03-22 13:33    [W:0.030 / U:0.524 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site