提交 33826d01 编写于 作者: S Stephen Rothwell 提交者: Tomi Valkeinen

video: xilinxfb: Fix for "Use standard variable name convention"

Signed-off-by: NStephen Rothwell <sfr@canb.auug.org.au>
Tested-by: NMichal Simek <monstr@monstr.eu>
Signed-off-by: NTomi Valkeinen <tomi.valkeinen@ti.com>
上级 9b842a47
...@@ -428,11 +428,11 @@ static int xilinxfb_of_probe(struct platform_device *pdev) ...@@ -428,11 +428,11 @@ static int xilinxfb_of_probe(struct platform_device *pdev)
#ifdef CONFIG_PPC_DCR #ifdef CONFIG_PPC_DCR
else { else {
int start; int start;
start = dcr_resource_start(op->dev.of_node, 0); start = dcr_resource_start(pdev->dev.of_node, 0);
drvdata->dcr_len = dcr_resource_len(op->dev.of_node, 0); drvdata->dcr_len = dcr_resource_len(pdev->dev.of_node, 0);
drvdata->dcr_host = dcr_map(op->dev.of_node, start, drvdata->dcr_len); drvdata->dcr_host = dcr_map(pdev->dev.of_node, start, drvdata->dcr_len);
if (!DCR_MAP_OK(drvdata->dcr_host)) { if (!DCR_MAP_OK(drvdata->dcr_host)) {
dev_err(&op->dev, "invalid DCR address\n"); dev_err(&pdev->dev, "invalid DCR address\n");
return -ENODEV; return -ENODEV;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册