static DEFINE_MUTEX(mutex);\r
static DEFINE_MUTEX(rk_dvfs_mutex);\r
\r
-extern int rk30_clk_notifier_register(struct clk *clk, struct notifier_block *nb);\r
-extern int rk30_clk_notifier_unregister(struct clk *clk, struct notifier_block *nb);\r
-\r
static int dump_dbg_map(char* buf);\r
\r
#define PD_ON 1\r
dvfs_clk->enable_dvfs--;\r
if (0 == dvfs_clk->enable_dvfs) {\r
DVFS_ERR("clk closed!\n");\r
- rk30_clk_notifier_unregister(clk, dvfs_clk->dvfs_nb);\r
+#if 0\r
+ clk_notifier_unregister(clk, dvfs_clk->dvfs_nb);\r
DVFS_DBG("clk unregister nb!\n");\r
+#endif\r
}\r
}\r
return 0;\r
static DEFINE_MUTEX(mutex);\r
static DEFINE_MUTEX(rk_dvfs_mutex);\r
\r
-extern int rk30_clk_notifier_register(struct clk *clk, struct notifier_block *nb);\r
-extern int rk30_clk_notifier_unregister(struct clk *clk, struct notifier_block *nb);\r
-\r
static int dump_dbg_map(char* buf);\r
\r
#define PD_ON 1\r
dvfs_clk->enable_dvfs--;\r
if (0 == dvfs_clk->enable_dvfs) {\r
DVFS_ERR("clk closed!\n");\r
- rk30_clk_notifier_unregister(clk, dvfs_clk->dvfs_nb);\r
+#if 0\r
+ clk_notifier_unregister(clk, dvfs_clk->dvfs_nb);\r
DVFS_DBG("clk unregister nb!\n");\r
+#endif\r
}\r
}\r
return 0;\r