summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorTerry Lv <r65388@freescale.com>2012-03-14 16:32:32 +0800
committerTerry Lv <r65388@freescale.com>2012-03-15 14:20:54 +0800
commit52e5dbf65643dda88c61c2199e18b8d674959ee0 (patch)
tree74f82b1d63fe7b62c273cb163e0765174cccb8f3 /arch
parent7d47d290075b850499f0903ae32b6f4327cbca8b (diff)
ENGR00176469-4: Remove build warnings in clock.c
Remove build warnings in clock.c. Signed-off-by: Terry Lv <r65388@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/mach-mx6/clock.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-mx6/clock.c b/arch/arm/mach-mx6/clock.c
index e2dfa3f9af46..06516b86aa0d 100644
--- a/arch/arm/mach-mx6/clock.c
+++ b/arch/arm/mach-mx6/clock.c
@@ -1067,7 +1067,7 @@ static int _clk_pll_mlb_main_enable(struct clk *clk)
return 0;
}
-static int _clk_pll_mlb_main_disable(struct clk *clk)
+static void _clk_pll_mlb_main_disable(struct clk *clk)
{
unsigned int reg;
void __iomem *pllbase;
@@ -1079,8 +1079,6 @@ static int _clk_pll_mlb_main_disable(struct clk *clk)
reg |= ANADIG_PLL_BYPASS;
__raw_writel(reg, pllbase);
-
- return 0;
}
static struct clk pll6_mlb150_main_clk = {