[PATCH] [clk] Fix compile errors in DEFINE_CLK_GATE()

From: Andrew Lunn
Date: Sun Mar 04 2012 - 10:31:14 EST


Signed-off-by: Andrew Lunn <andrew@xxxxxxx>
---
include/linux/clk-private.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/linux/clk-private.h b/include/linux/clk-private.h
index d06e6fb..9d5c4b1 100644
--- a/include/linux/clk-private.h
+++ b/include/linux/clk-private.h
@@ -95,7 +95,7 @@ extern struct clk_ops clk_gate_ops;
}, \
.reg = _reg, \
.bit_idx = _bit_idx, \
- .flags = _gate_flags \
+ .flags = _gate_flags, \
.lock = _lock, \
}; \
static struct clk _name = { \
@@ -104,7 +104,7 @@ extern struct clk_ops clk_gate_ops;
.hw = &_name##_hw.hw, \
.parent_names = _name##_parent_names, \
.num_parents = \
- ARRAY_SIZE(_name##parent_names), \
+ ARRAY_SIZE(_name##_parent_names), \
.parents = _name##_parents, \
.flags = _flags, \
};
--
1.7.2.5

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/