Hi Amit,
@@ -64,14 +66,25 @@ struct clk {
struct mutex mutex; spinlock_t spinlock;
} lock;
+#ifdef CONFIG_CLK_DEBUG
- const char name[CLK_NAME_LEN];
- struct list_head list;
+#endif /* CONFIG_CLK_DEBUG */
};
So clocks have names only if DEBUG is enabled?
That's right - we don't (currently) use the clock names for anything other than the debug code.
Cheers,
Jeremy