]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
mfd: Fix htc-egpio compile warning
authorSamuel Ortiz <sameo@openedhand.com>
Wed, 24 Sep 2008 22:17:00 +0000 (00:17 +0200)
committerSamuel Ortiz <samuel@sortiz.org>
Sun, 19 Oct 2008 20:54:10 +0000 (22:54 +0200)
resource_size_t can be a 64 bits value. Since this is just a printk, we'll
cast it to a u32.

Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/htc-egpio.c

index 6be43172dc656911cd5c9f41f8717426e2be9e54..50dff6e0088d919fae79f7769f412dbf5cc297ed 100644 (file)
@@ -289,7 +289,7 @@ static int __init egpio_probe(struct platform_device *pdev)
        ei->base_addr = ioremap_nocache(res->start, res->end - res->start);
        if (!ei->base_addr)
                goto fail;
-       pr_debug("EGPIO phys=%08x virt=%p\n", res->start, ei->base_addr);
+       pr_debug("EGPIO phys=%08x virt=%p\n", (u32)res->start, ei->base_addr);
 
        if ((pdata->bus_width != 16) && (pdata->bus_width != 32))
                goto fail;