[MTD] [MAPS] fix plat-ram printk format
[sfrench/cifs-2.6.git] / drivers / mtd / maps / plat-ram.c
index 2b6504ecbbd16a362331000f501ee5371f5ed862..894c0b27128982fc5d52a6fc79a7b32efecc320f 100644 (file)
@@ -169,7 +169,8 @@ static int platram_probe(struct platform_device *pdev)
                goto exit_free;
        }
 
-       dev_dbg(&pdev->dev, "got platform resource %p (0x%lx)\n", res, res->start);
+       dev_dbg(&pdev->dev, "got platform resource %p (0x%llx)\n", res,
+               (unsigned long long)res->start);
 
        /* setup map parameters */