summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/mx6/soc.c
diff options
context:
space:
mode:
authorFabio Estevam <fabio.estevam@freescale.com>2013-12-26 14:51:30 -0200
committerStefano Babic <sbabic@denx.de>2014-01-02 17:16:50 +0100
commitfc740648bddbf1fdb26e6cba1a8b436a814ef8bc (patch)
tree9cd53ad8de14c6ef49dc9ca897e979a29259ea13 /arch/arm/cpu/armv7/mx6/soc.c
parent5dc64ab730de14d9992c3f6ddce141d799a00106 (diff)
downloadu-boot-imx-fc740648bddbf1fdb26e6cba1a8b436a814ef8bc.zip
u-boot-imx-fc740648bddbf1fdb26e6cba1a8b436a814ef8bc.tar.gz
u-boot-imx-fc740648bddbf1fdb26e6cba1a8b436a814ef8bc.tar.bz2
mx6: soc: Staticize set_vddsoc()
set_vddsoc() is not used anywhere else, so make it static. Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Diffstat (limited to 'arch/arm/cpu/armv7/mx6/soc.c')
-rw-r--r--arch/arm/cpu/armv7/mx6/soc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/cpu/armv7/mx6/soc.c b/arch/arm/cpu/armv7/mx6/soc.c
index 335706a..2eee6e9 100644
--- a/arch/arm/cpu/armv7/mx6/soc.c
+++ b/arch/arm/cpu/armv7/mx6/soc.c
@@ -101,7 +101,7 @@ void init_aips(void)
* Possible values are from 0.725V to 1.450V in steps of
* 0.025V (25mV).
*/
-void set_vddsoc(u32 mv)
+static void set_vddsoc(u32 mv)
{
struct anatop_regs *anatop = (struct anatop_regs *)ANATOP_BASE_ADDR;
u32 val, reg = readl(&anatop->reg_core);