]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] passing pointer to setup_timer() should be via unsigned long
authorAl Viro <viro@ftp.linux.org.uk>
Tue, 10 Oct 2006 21:47:07 +0000 (22:47 +0100)
committerLinus Torvalds <torvalds@g5.osdl.org>
Tue, 10 Oct 2006 22:37:22 +0000 (15:37 -0700)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/mmc/sdhci.c

index 6d024342b2fdf170a25136ea48215dfc8ab61e04..9a7d39b7cdbf43ae3b24df6eed03b8e4c511148b 100644 (file)
@@ -1329,7 +1329,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, (long)host);
+       setup_timer(&host->timer, sdhci_timeout_timer, (unsigned long)host);
 
        ret = request_irq(host->irq, sdhci_irq, IRQF_SHARED,
                host->slot_descr, host);