]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/arm/mach-omap2/pm-debug.c
OMAP clock: drop clk_get_usecount()
[linux-2.6-omap-h63xx.git] / arch / arm / mach-omap2 / pm-debug.c
index 0b5c0445e7c9bc906926f3eb09140aab2c5c4e4c..0832e05520e403149fe3b2ad11fc241d42ee11b8 100644 (file)
@@ -93,7 +93,7 @@ void serial_console_sleep(int enable)
 
        if (enable) {
                BUG_ON(serial_console_clock_disabled);
-               if (clk_get_usecount(console_fclk) == 0)
+               if (console_fclk->usecount == 0)
                        return;
                if ((int) serial_console_next_disable - (int) omap2_read_32k_sync_counter() >= 0)
                        return;