summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2016-11-16 00:50:11 +0000
committerTom Rini <trini@konsulko.com>2016-12-04 13:55:02 -0500
commit566a965af1d8c6151bb7c11cb55c9bd32cfeae8c (patch)
treee536a1f1157cdf1fcddca92a7767f0c7c14e0aba
parent429033659d574bec966718de19eb732b99f3a9af (diff)
downloadu-boot-566a965af1d8c6151bb7c11cb55c9bd32cfeae8c.tar.gz
u-boot-566a965af1d8c6151bb7c11cb55c9bd32cfeae8c.tar.bz2
u-boot-566a965af1d8c6151bb7c11cb55c9bd32cfeae8c.zip
usb: eth: r8152_fw: fix indentation
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>
-rw-r--r--drivers/usb/eth/r8152_fw.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/usb/eth/r8152_fw.c b/drivers/usb/eth/r8152_fw.c
index b6c82283a8..81c3754550 100644
--- a/drivers/usb/eth/r8152_fw.c
+++ b/drivers/usb/eth/r8152_fw.c
@@ -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);