summaryrefslogtreecommitdiff
path: root/arch/arm/include/asm
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-05 11:56:23 (GMT)
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-06 15:15:03 (GMT)
commit4431684910217022bad85a0bc931ad9bfb78859f (patch)
tree81f5b2f61d5f56eec377709e365d1cb95adaf05e /arch/arm/include/asm
parentee470645d169cd0f47f66be8c8f69e061e3665d4 (diff)
downloadu-boot-fsl-qoriq-4431684910217022bad85a0bc931ad9bfb78859f.tar.xz
ARM: UniPhier: refactor pinmon command
The return value of get_boot_mode_sel() is used as the index of the boot_device_table[] array. Its type should be "int" rather than "u32". Use only the iterator "i" for the loop in do_pinmon(). Signed-off-by: Masahiro Yamada <yamada.m@jp.panasonic.com>
Diffstat (limited to 'arch/arm/include/asm')
-rw-r--r--arch/arm/include/asm/arch-uniphier/boot-device.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/include/asm/arch-uniphier/boot-device.h b/arch/arm/include/asm/arch-uniphier/boot-device.h
index 6987f57..7a10f1c 100644
--- a/arch/arm/include/asm/arch-uniphier/boot-device.h
+++ b/arch/arm/include/asm/arch-uniphier/boot-device.h
@@ -8,7 +8,7 @@
#ifndef _ASM_BOOT_DEVICE_H_
#define _ASM_BOOT_DEVICE_H_
-u32 get_boot_mode_sel(void);
+int get_boot_mode_sel(void);
struct boot_device_info {
u32 type;