ARM: tegra: clock: Fix warning

Change-Id: I2c175f65b7e7db234f7317e7c51aeea65d33d555
This commit is contained in:
Colin Cross
2010-10-25 16:23:09 -07:00
parent a98fd00b27
commit 7c10ae2d59

View File

@@ -871,7 +871,7 @@ static int tegra2_periph_clk_enable(struct clk *c)
tegra_periph_clk_enable_refcount[c->u.periph.clk_num]++;
if (tegra_periph_clk_enable_refcount[c->u.periph.clk_num] > 1)
return;
return 0;
clk_writel(PERIPH_CLK_TO_ENB_BIT(c),
CLK_OUT_ENB_SET + PERIPH_CLK_TO_ENB_SET_REG(c));