]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
usb: eth: r8152_fw: fix indentation
authorAndre Przywara <andre.przywara@arm.com>
Wed, 16 Nov 2016 00:50:11 +0000 (00:50 +0000)
committerTom Rini <trini@konsulko.com>
Sun, 4 Dec 2016 18:55:02 +0000 (13:55 -0500)
Apparently the indentation is wrong here, fix this to avoid compiler
warnings and puzzled readers.

Pointed out by GCC 6.2's -Wmisleading-indentation warning.

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
Reviewed-by: Marek Vasut <marex@denx.de>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/usb/eth/r8152_fw.c

index b6c82283a877213de45ec5b9b40611342ae6030e..81c3754550f726b39350b7f70e47694dc7880e1b 100644 (file)
@@ -871,10 +871,10 @@ void r8153_firmware(struct r8152 *tp)
        } else if (tp->version == RTL_VER_04) {
                r8153_pre_ram_code(tp, 0x7001);
 
-       for (i = 0; i < ARRAY_SIZE(r8153_ram_code_bc); i += 2)
-               ocp_write_word(tp, MCU_TYPE_PLA,
-                              r8153_ram_code_bc[i],
-                              r8153_ram_code_bc[i+1]);
+               for (i = 0; i < ARRAY_SIZE(r8153_ram_code_bc); i += 2)
+                       ocp_write_word(tp, MCU_TYPE_PLA,
+                                      r8153_ram_code_bc[i],
+                                      r8153_ram_code_bc[i+1]);
 
                r8153_post_ram_code(tp);