We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f21b9be commit d2d0ae7Copy full SHA for d2d0ae7
drivers/phy/phy-snps-eusb2.c
@@ -552,7 +552,7 @@ static int snps_eusb2_hsphy_probe(struct platform_device *pdev)
552
if (!phy->clks)
553
return -ENOMEM;
554
555
- for (int i = 0; i < phy->data->num_clks; ++i)
+ for (i = 0; i < phy->data->num_clks; ++i)
556
phy->clks[i].id = phy->data->clk_names[i];
557
558
ret = devm_clk_bulk_get(dev, phy->data->num_clks, phy->clks);
@@ -561,7 +561,7 @@ static int snps_eusb2_hsphy_probe(struct platform_device *pdev)
561
"failed to get phy clock(s)\n");
562
563
phy->ref_clk = NULL;
564
- for (int i = 0; i < phy->data->num_clks; ++i) {
+ for (i = 0; i < phy->data->num_clks; ++i) {
565
if (!strcmp(phy->clks[i].id, "ref")) {
566
phy->ref_clk = phy->clks[i].clk;
567
break;
0 commit comments