diff options
| author | Zhang Jiejing <jiejing.zhang@freescale.com> | 2012-05-16 11:20:00 +0800 |
|---|---|---|
| committer | Jason Liu <r64343@freescale.com> | 2012-07-20 13:37:26 +0800 |
| commit | aee5fe3c43b5f1d11b351db89c6cadc0b2deff44 (patch) | |
| tree | c87d813206642d90b9b84bd90b20910234257c64 /arch/arm/plat-mxc/system.c | |
| parent | e1d495d094360db12ed5d9ad2af7bf156969adf7 (diff) | |
ENGR00209454 imx6sl: fix build failure and clear warnning message.
fix build failure invoke by reboot function patch,
and refine the code to clear the warnning message.
Signed-off-by: Zhang Jiejing <jiejing.zhang@freescale.com>
Diffstat (limited to 'arch/arm/plat-mxc/system.c')
| -rw-r--r-- | arch/arm/plat-mxc/system.c | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/arch/arm/plat-mxc/system.c b/arch/arm/plat-mxc/system.c index a2830bd16cb6..d2a999bdcf5b 100644 --- a/arch/arm/plat-mxc/system.c +++ b/arch/arm/plat-mxc/system.c @@ -21,8 +21,10 @@ #include <linux/io.h> #include <linux/err.h> #include <linux/delay.h> +#include <linux/string.h> #include <mach/hardware.h> #include <mach/common.h> +#include <mach/system.h> #include <asm/proc-fns.h> #include <asm/system.h> #ifdef CONFIG_SMP @@ -32,21 +34,6 @@ static void __iomem *wdog_base; -#ifdef CONFIG_MXC_REBOOT_MFGMODE -void do_switch_mfgmode(void); -void mxc_clear_mfgmode(void); -#else -void do_switch_mfgmode() {} -void mxc_clear_mfgmode() {} -#endif - -#ifdef CONFIG_MXC_REBOOT_ANDROID_CMD -void do_switch_recovery(void); -void do_switch_fastboot(void); -#else -void do_switch_recovery() {} -void do_switch_fastboot() {} -#endif static void arch_reset_special_mode(char mode, const char *cmd) { |
