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

From: Tom Rini
Date: Mon Nov 15 2004 - 12:36:20 EST


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@xxxxxxxxxxxxxxxxxxx>

--- 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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/