lkml.org 
[lkml]   [2004]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH 2.6.10-rc2] ppc32: Fix Motorola Sandpoint builds
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/
-
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 14:08    [W:0.092 / U:1.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site