summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-02-19 14:53:57 -0800
committerKhem Raj <raj.khem@gmail.com>2018-02-19 20:18:40 -0800
commit3d836fcc4a8fe198f113148e0100e64f6acbfab1 (patch)
treea625c75db200636f9bea6c329e1a33d87101b19d
parenta2b27e8f4d940562c3549b49bbd32c7113307e3e (diff)
downloadu-boot-odroid-c1-3d836fcc4a8fe198f113148e0100e64f6acbfab1.tar.gz
arch,drivers: Fix indentation warning
bl31_apis.c:62:2: error: this 'if' clause does not guard... [-Werror=misleading-indentation] Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--arch/arm/cpu/armv8/gxb/bl31_apis.c4
-rw-r--r--drivers/mmc/aml_sd_emmc.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/cpu/armv8/gxb/bl31_apis.c b/arch/arm/cpu/armv8/gxb/bl31_apis.c
index 992742b5bc..1939c1d620 100644
--- a/arch/arm/cpu/armv8/gxb/bl31_apis.c
+++ b/arch/arm/cpu/armv8/gxb/bl31_apis.c
@@ -62,7 +62,7 @@ int32_t meson_trustzone_efuse(struct efuse_hal_api_arg *arg)
if (arg->cmd == EFUSE_HAL_API_WRITE)
memcpy((void *)sharemem_input_base,
(const void *)arg->buffer_phy, size);
- asm __volatile__("" : : : "memory");
+ asm __volatile__("" : : : "memory");
register uint64_t x0 asm("x0") = cmd;
register uint64_t x1 asm("x1") = offset;
@@ -318,4 +318,4 @@ void set_usb_boot_function(unsigned long command)
"smc #0\n"
: "+r" (x0)
: "r" (x1));
-} \ No newline at end of file
+}
diff --git a/drivers/mmc/aml_sd_emmc.c b/drivers/mmc/aml_sd_emmc.c
index 86ce0091ab..cca0884e6d 100644
--- a/drivers/mmc/aml_sd_emmc.c
+++ b/drivers/mmc/aml_sd_emmc.c
@@ -241,7 +241,7 @@ static int sd_inand_staff_init(struct mmc *mmc)
}
if (!sdio->inited_flag)
sdio->inited_flag = 1;
- return SD_NO_ERROR;
+ return SD_NO_ERROR;
}