linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Linus Torvalds <torvalds@transmeta.com>,
	Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-kernel@vger.kernel.org
Subject: [PATCH] Fix compile of drivers/pci/pci.c in 2.4.9-pre2
Date: Mon, 13 Aug 2001 08:31:00 -0700	[thread overview]
Message-ID: <20010813083100.C9133@cpe-24-221-152-185.az.sprintbbd.net> (raw)

Hello.  2.4.9-pre2 introduced the mandatory PM transition delays for PCI
devices.  However, it currently doesn't compile, at least on PPC, since
drivers/pci/pci.c doesn't include <asm/delay.h> to get the definition of
udelay.  Please apply this to the next release.  Thanks.

-- 
Tom Rini (TR1265)
http://gate.crashing.org/~trini/

===== drivers/pci/pci.c 1.17 vs edited =====
--- 1.17/drivers/pci/pci.c	Sun Aug 12 23:55:22 2001
+++ edited/drivers/pci/pci.c	Mon Aug 13 08:25:35 2001
@@ -25,6 +25,7 @@
 
 #include <asm/page.h>
 #include <asm/dma.h>	/* isa_dma_bridge_buggy */
+#include <asm/delay.h>	/* for udelay */
 
 #undef DEBUG
 

             reply	other threads:[~2001-08-13 15:31 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-13 15:31 Tom Rini [this message]
2001-08-13 15:37 ` [PATCH] Fix compile of drivers/pci/pci.c in 2.4.9-pre2 David S. Miller
2001-08-13 15:46   ` Tom Rini

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010813083100.C9133@cpe-24-221-152-185.az.sprintbbd.net \
    --to=trini@kernel.crashing.org \
    --cc=alan@lxorguk.ukuu.org.uk \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).