提交 258de4ba 编写于 作者: G Grant Likely

[POWERPC] XilinxFB: add banner output to probe routine when DEBUG is defined

Debug support: when DEBUG is defined, output relevant details to the
log about the framebuffer registration.
Signed-off-by: NGrant Likely <grant.likely@secretlab.ca>
Acked-by: NAndrei Konovalov <akonovalov@ru.mvista.com>
上级 dcccb37e
......@@ -287,6 +287,11 @@ xilinxfb_drv_probe(struct device *dev)
goto failed4;
}
/* Put a banner in the log (for DEBUG) */
dev_dbg(dev, "regs: phys=%x, virt=%p\n",
drvdata->regs_phys, drvdata->regs);
dev_dbg(dev, "fb: phys=%p, virt=%p, size=%x\n",
(void*)drvdata->fb_phys, drvdata->fb_virt, FB_SIZE);
return 0; /* success */
failed4:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册