Commit 28420e78 authored by Prabhakar Kushwaha's avatar Prabhakar Kushwaha Committed by Stefano Babic
Browse files

arm/imx-common: Fix warning 'get_reset_cause' defined but not used



Fix below warning
arch/arm/imx-common/cpu.c:29:14: warning: ‘get_reset_cause’ defined but
not used
 static char *get_reset_cause(void)
Signed-off-by: default avatarPrabhakar Kushwaha <prabhakar@freescale.com>
Reviewed-by: default avatarEric Nelson <eric.nelson@boundarydevices.com>
Acked-by: default avatarStefano Babic <sbabic@denx.de>
parent 3fd10f3e
......@@ -24,6 +24,7 @@
#include <fsl_esdhc.h>
#endif
#if defined(CONFIG_DISPLAY_CPUINFO)
static u32 reset_cause = -1;
static char *get_reset_cause(void)
......@@ -60,6 +61,7 @@ u32 get_imx_reset_cause(void)
{
return reset_cause;
}
#endif
#if defined(CONFIG_MX53) || defined(CONFIG_MX6)
#if defined(CONFIG_MX53)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment