diff mbox

[1/6,v3] sh: add a list of parent configurations to struct clk

Message ID Pine.LNX.4.64.1007211149030.16933@axis700.grange (mailing list archive)
State Accepted
Headers show

Commit Message

Guennadi Liakhovetski July 21, 2010, 10:13 a.m. UTC
None
diff mbox

Patch

diff --git a/include/linux/sh_clk.h b/include/linux/sh_clk.h
index 1636d1e..08a07b9 100644
--- a/include/linux/sh_clk.h
+++ b/include/linux/sh_clk.h
@@ -25,6 +25,10 @@  struct clk {
 	int			id;
 
 	struct clk		*parent;
+	struct clk		**parent_table;	/* list of parents to */
+	unsigned short		parent_num;	/* choose between */
+	unsigned char		src_shift;	/* source clock field in the */
+	unsigned char		src_width;	/* configuration register */
 	struct clk_ops		*ops;
 
 	struct list_head	children;