Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 33826d01 authored by Stephen Rothwell's avatar Stephen Rothwell Committed by Tomi Valkeinen
Browse files

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

parent 9b842a47
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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;
		}
	}