linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Tom Rini <trini@kernel.crashing.org>
To: Kernel Mailing List <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@osdl.org>
Cc: linuxppc-embedded@ozlabs.org
Subject: [PATCH 2.6.10-rc2] ppc32: Fix Motorola Sandpoint builds
Date: Mon, 15 Nov 2004 10:33:38 -0700	[thread overview]
Message-ID: <20041115173338.GB2105@smtp.west.cox.net> (raw)

Motorola Sandpoint builds broke recently, as part of the pci_find_device
-> pci_get_device change.  The following is the trivial fix.

Signed-off-by: Tom Rini <trini@kernel.crashing.org>

--- 1.28/arch/ppc/platforms/sandpoint.c	2004-11-15 09:19:42 -07:00
+++ edited/arch/ppc/platforms/sandpoint.c	2004-11-15 10:31:45 -07:00
@@ -584,7 +584,7 @@
 		sandpoint_ide_ctl_regbase[0]=pdev->resource[1].start;
 		sandpoint_ide_ctl_regbase[1]=pdev->resource[3].start;
 		sandpoint_idedma_regbase=pdev->resource[4].start;
-		pci_dev_put(dev);
+		pci_dev_put(pdev);
 	}
 
 	sandpoint_ide_ports_known = 1;

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

                 reply	other threads:[~2004-11-15 17:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20041115173338.GB2105@smtp.west.cox.net \
    --to=trini@kernel.crashing.org \
    --cc=akpm@osdl.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linuxppc-embedded@ozlabs.org \
    /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).