DORMANTno replies

[PATCH 2.6.10-rc2] ppc32: Fix Motorola Sandpoint builds

From: Tom Rini <hidden>
Date: 2004-11-15 17:34:07
Also in: lkml

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 <redacted>
--- 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/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help