diff mbox

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

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

Commit Message

Guennadi Liakhovetski July 8, 2010, 2:12 p.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;