[PATCH 2.6.10-rc2] ppc32: Fix Motorola Sandpoint builds
Tom Rini
trini at kernel.crashing.org
Tue Nov 16 04:33:38 EST 2004
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 at 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/
More information about the Linuxppc-embedded
mailing list