summaryrefslogtreecommitdiffstats
path: root/arch/arm/include
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-05 20:56:23 +0900
committerMasahiro Yamada <yamada.m@jp.panasonic.com>2015-02-07 00:15:03 +0900
commit4431684910217022bad85a0bc931ad9bfb78859f (patch)
tree81f5b2f61d5f56eec377709e365d1cb95adaf05e /arch/arm/include
parentee470645d169cd0f47f66be8c8f69e061e3665d4 (diff)
downloadblackbird-obmc-uboot-4431684910217022bad85a0bc931ad9bfb78859f.tar.gz
blackbird-obmc-uboot-4431684910217022bad85a0bc931ad9bfb78859f.zip
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')
-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 6987f57669..7a10f1c5b2 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;
OpenPOWER on IntegriCloud