summaryrefslogtreecommitdiffstats
path: root/arch/arm/plat-spear/include/plat
diff options
context:
space:
mode:
authorShiraz Hashim <shiraz.hashim@st.com>2011-02-16 07:40:40 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2011-03-09 09:49:45 +0000
commit4b9502e167d8370c2c5ee0cb20ab081bbebfffa8 (patch)
treec7f53aff2d7be2d5535ed59112a4cc339051bb13 /arch/arm/plat-spear/include/plat
parentaf89fd812b00a52c54a3b9b2290fae4d31c7be9a (diff)
downloadtalos-op-linux-4b9502e167d8370c2c5ee0cb20ab081bbebfffa8.tar.gz
talos-op-linux-4b9502e167d8370c2c5ee0cb20ab081bbebfffa8.zip
ARM: 6681/1: SPEAr: add debugfs support to clk API
Reviewed-by: Stanley Miao <stanley.miao@windriver.com> Signed-off-by: Shiraz Hashim <shiraz.hashim@st.com> Signed-off-by: Viresh Kumar <viresh.kumar@st.com> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/plat-spear/include/plat')
-rw-r--r--arch/arm/plat-spear/include/plat/clock.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/plat-spear/include/plat/clock.h b/arch/arm/plat-spear/include/plat/clock.h
index 5a601d830971..2ae6606930a6 100644
--- a/arch/arm/plat-spear/include/plat/clock.h
+++ b/arch/arm/plat-spear/include/plat/clock.h
@@ -88,6 +88,9 @@ struct rate_config {
* @children: list for childrens or this clock
* @sibling: node for list of clocks having same parents
* @private_data: clock specific private data
+ * @node: list to maintain clocks linearly
+ * @cl: clocklook up assoicated with this clock
+ * @dent: object for debugfs
*/
struct clk {
unsigned int usage_count;
@@ -109,6 +112,11 @@ struct clk {
struct list_head children;
struct list_head sibling;
void *private_data;
+#ifdef CONFIG_DEBUG_FS
+ struct list_head node;
+ struct clk_lookup *cl;
+ struct dentry *dent;
+#endif
};
/* pll configuration structure */
OpenPOWER on IntegriCloud