usb: eth: r8152_fw: fix indentation 39/112039/1
authorAndre Przywara <andre.przywara@arm.com>
Wed, 16 Nov 2016 00:50:11 +0000 (00:50 +0000)
committerSeung-Woo Kim <sw0312.kim@samsung.com>
Wed, 25 Jan 2017 11:52:55 +0000 (20:52 +0900)
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>
[Backport from u-boot mainline to remove build warning with GCC 6]
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Change-Id: Ic23e95f32b2417458fe84e6812f851c1d48386a1

drivers/usb/eth/r8152_fw.c

index f820b16afca6079aaca357506f2dbcf76d8037d6..beaf953cb1fe13a4db5973c07c28ad6316313996 100644 (file)
@@ -869,10 +869,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);