OSDN Git Service

video: mx3fb: Use vsprintf extension %pR for struct resource
authorJoe Perches <joe@perches.com>
Mon, 13 Dec 2010 21:42:21 +0000 (13:42 -0800)
committerPaul Mundt <lethal@linux-sh.org>
Tue, 14 Dec 2010 09:07:19 +0000 (18:07 +0900)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/video/mx3fb.c

index 7cfc170..9f7c901 100644 (file)
@@ -1470,8 +1470,7 @@ static int mx3fb_probe(struct platform_device *pdev)
                goto eremap;
        }
 
-       pr_debug("Remapped %x to %x at %p\n", sdc_reg->start, sdc_reg->end,
-                mx3fb->reg_base);
+       pr_debug("Remapped %pR at %p\n", sdc_reg, mx3fb->reg_base);
 
        /* IDMAC interface */
        dmaengine_get();