diff options
author | Samuel Ortiz <sameo@openedhand.com> | 2008-09-24 18:17:00 -0400 |
---|---|---|
committer | Samuel Ortiz <samuel@sortiz.org> | 2008-10-19 16:54:10 -0400 |
commit | 504f97f884bafcd14d28ab52533e7b92996c8b98 (patch) | |
tree | 93e69a0b26a7b0ee9bc3df0c19c473bda459438f | |
parent | f98a0bd0e4b77b12e49ce01f4c9f04503931c291 (diff) |
mfd: Fix htc-egpio compile warning
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>
-rw-r--r-- | drivers/mfd/htc-egpio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/htc-egpio.c b/drivers/mfd/htc-egpio.c index 6be43172dc65..50dff6e0088d 100644 --- a/drivers/mfd/htc-egpio.c +++ b/drivers/mfd/htc-egpio.c | |||
@@ -289,7 +289,7 @@ static int __init egpio_probe(struct platform_device *pdev) | |||
289 | ei->base_addr = ioremap_nocache(res->start, res->end - res->start); | 289 | ei->base_addr = ioremap_nocache(res->start, res->end - res->start); |
290 | if (!ei->base_addr) | 290 | if (!ei->base_addr) |
291 | goto fail; | 291 | goto fail; |
292 | pr_debug("EGPIO phys=%08x virt=%p\n", res->start, ei->base_addr); | 292 | pr_debug("EGPIO phys=%08x virt=%p\n", (u32)res->start, ei->base_addr); |
293 | 293 | ||
294 | if ((pdata->bus_width != 16) && (pdata->bus_width != 32)) | 294 | if ((pdata->bus_width != 16) && (pdata->bus_width != 32)) |
295 | goto fail; | 295 | goto fail; |