[MMC] sdhci truncated pointer fix
authorAndrew Morton <akpm@osdl.org>
Mon, 12 Jun 2006 21:10:22 +0000 (22:10 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Mon, 12 Jun 2006 21:10:22 +0000 (22:10 +0100)
On 64-bit machines, we just lost the uppermost 32 bits.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/sdhci.c

index b0053280ff2db61725a7bddba23287e36907428f..6bfcdbc7491e9ac01a601cd364016dcdc05b18cf 100644 (file)
@@ -1073,7 +1073,7 @@ static int __devinit sdhci_probe_slot(struct pci_dev *pdev, int slot)
        tasklet_init(&host->finish_tasklet,
                sdhci_tasklet_finish, (unsigned long)host);
 
-       setup_timer(&host->timer, sdhci_timeout_timer, (int)host);
+       setup_timer(&host->timer, sdhci_timeout_timer, (long)host);
 
        ret = request_irq(host->irq, sdhci_irq, SA_SHIRQ,
                host->slot_descr, host);
This page took 0.026785 seconds and 5 git commands to generate.