Skip to content

Commit

Permalink
video: xilinxfb: Fix for "Use standard variable name convention"
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Rothwell <[email protected]>
Tested-by: Michal Simek <[email protected]>
Signed-off-by: Tomi Valkeinen <[email protected]>
  • Loading branch information
sfrothwell authored and tomba committed Oct 29, 2013
1 parent 9b842a4 commit 33826d0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions drivers/video/xilinxfb.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,11 +428,11 @@ static int xilinxfb_of_probe(struct platform_device *pdev)
#ifdef CONFIG_PPC_DCR
else {
int start;
start = dcr_resource_start(op->dev.of_node, 0);
drvdata->dcr_len = dcr_resource_len(op->dev.of_node, 0);
drvdata->dcr_host = dcr_map(op->dev.of_node, start, drvdata->dcr_len);
start = dcr_resource_start(pdev->dev.of_node, 0);
drvdata->dcr_len = dcr_resource_len(pdev->dev.of_node, 0);
drvdata->dcr_host = dcr_map(pdev->dev.of_node, start, drvdata->dcr_len);
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;
}
}
Expand Down

0 comments on commit 33826d0

Please sign in to comment.