|
@@ -220,6 +220,14 @@ static int simplefb_probe(struct platform_device *pdev)
|
|
|
}
|
|
|
info->pseudo_palette = (void *)(info + 1);
|
|
|
|
|
|
+ dev_info(&pdev->dev, "framebuffer at 0x%lx, 0x%x bytes, mapped to 0x%p\n",
|
|
|
+ info->fix.smem_start, info->fix.smem_len,
|
|
|
+ info->screen_base);
|
|
|
+ dev_info(&pdev->dev, "format=%s, mode=%dx%dx%d, linelength=%d\n",
|
|
|
+ params.format->name,
|
|
|
+ info->var.xres, info->var.yres,
|
|
|
+ info->var.bits_per_pixel, info->fix.line_length);
|
|
|
+
|
|
|
ret = register_framebuffer(info);
|
|
|
if (ret < 0) {
|
|
|
dev_err(&pdev->dev, "Unable to register simplefb: %d\n", ret);
|