]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
mx6: soc: Staticize set_vddsoc()
authorFabio Estevam <fabio.estevam@freescale.com>
Thu, 26 Dec 2013 16:51:30 +0000 (14:51 -0200)
committerStefano Babic <sbabic@denx.de>
Thu, 2 Jan 2014 16:16:50 +0000 (17:16 +0100)
set_vddsoc() is not used anywhere else, so make it static.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
arch/arm/cpu/armv7/mx6/soc.c
arch/arm/include/asm/arch-mx6/sys_proto.h

index 335706adf6476192e8faab5de9a9006657a7f03b..2eee6e9a2db2a7c1730b01cc731ae5b6f55fba65 100644 (file)
@@ -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);
index 8c21364e71b7ca72cff54dd7344da533fe77cdc1..17125a6f3e326c4d2718c98a14ed311cf6a6f8e5 100644 (file)
@@ -29,8 +29,6 @@ u32 get_cpu_rev(void);
 const char *get_imx_type(u32 imxtype);
 unsigned imx_ddr_size(void);
 
-void set_vddsoc(u32 mv);
-
 /*
  * Initializes on-chip ethernet controllers.
  * to override, implement board_eth_init()