Skip to content

Commit

Permalink
[MMC] sdhci truncated pointer fix
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Andrew Morton authored and Russell King committed Jun 12, 2006
1 parent 0e838b7 commit e474c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/sdhci.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e474c66

Please sign in to comment.