linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2.6.10-rc2] ppc32: Fix Motorola Sandpoint builds
@ 2004-11-15 17:33 Tom Rini
  0 siblings, 0 replies; only message in thread
From: Tom Rini @ 2004-11-15 17:33 UTC (permalink / raw)
  To: Kernel Mailing List, Andrew Morton; +Cc: linuxppc-embedded

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/

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

only message in thread, other threads:[~2004-11-15 17:33 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-15 17:33 [PATCH 2.6.10-rc2] ppc32: Fix Motorola Sandpoint builds Tom Rini

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).