diff mbox

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

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

Commit Message

Guennadi Liakhovetski June 30, 2010, 9:55 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;