]> err.no Git - linux-2.6/commitdiff
[PATCH] ARM: OMAP: Check gpio_fck not gpio_ick
authorKomal Shah <komal_shah802003@yahoo.com>
Mon, 25 Sep 2006 09:51:08 +0000 (12:51 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 25 Sep 2006 09:51:08 +0000 (12:51 +0300)
Check gpio_fck not gpio_ick.

Signed-off-by: Komal Shah <komal_shah802003@yahoo.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/gpio.c

index f1aaa5519cf34372d3113b79e2b187439b00c140..f55f99ae58aea6ab07402c2562ab00b84ff8c38e 100644 (file)
@@ -1006,7 +1006,7 @@ static int __init _omap_gpio_init(void)
                else
                        clk_enable(gpio_ick);
                gpio_fck = clk_get(NULL, "gpios_fck");
-               if (IS_ERR(gpio_ick))
+               if (IS_ERR(gpio_fck))
                        printk("Could not get gpios_fck\n");
                else
                        clk_enable(gpio_fck);