MIPS: AR7: Fix trailing semicolon bug in clock.c
authorFlorian Fainelli <florian@openwrt.org>
Sun, 12 Jun 2011 18:57:17 +0000 (20:57 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Wed, 20 Jul 2011 22:12:12 +0000 (23:12 +0100)
Signed-off-by: Florian Fainelli <florian@openwrt.org>
To: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/2489/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/ar7/clock.c

index 2ca4ada1c291cf7cb13f0ac047d6b879e9e1b400..2460f9d23f1bee098a03efecfe2181abaeef1988 100644 (file)
@@ -443,7 +443,7 @@ struct clk *clk_get(struct device *dev, const char *id)
                return &vbus_clk;
        if (!strcmp(id, "cpu"))
                return &cpu_clk;
-       if (!strcmp(id, "dsp"));
+       if (!strcmp(id, "dsp"))
                return &dsp_clk;
        if (!strcmp(id, "vbus"))
                return &vbus_clk;