From mboxrd@z Thu Jan 1 00:00:00 1970 From: andrew@lunn.ch (Andrew Lunn) Date: Sun, 4 Mar 2012 21:33:59 +0100 Subject: [PATCH] clk: Fix compile errors in DEFINE_CLK_GATE In-Reply-To: <1330763341-3437-5-git-send-email-mturquette@linaro.org> References: <1330763341-3437-1-git-send-email-mturquette@linaro.org> <1330763341-3437-5-git-send-email-mturquette@linaro.org> Message-ID: <20120304203359.GE11546@lunn.ch> To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org >>From 71e9a676b2b2f0dc2bb0cc395e8325cf38f4808b Mon Sep 17 00:00:00 2001 From: Andrew Lunn Date: Sun, 4 Mar 2012 16:31:14 +0100 Subject: [PATCH] [clk] Fix compile errors in DEFINE_CLK_GATE() Signed-off-by: Andrew Lunn --- 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 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754900Ab2CDUeQ (ORCPT ); Sun, 4 Mar 2012 15:34:16 -0500 Received: from londo.lunn.ch ([80.238.139.98]:53156 "EHLO londo.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754488Ab2CDUeP (ORCPT ); Sun, 4 Mar 2012 15:34:15 -0500 Date: Sun, 4 Mar 2012 21:33:59 +0100 From: Andrew Lunn To: Mike Turquette Cc: Russell King , patches@linaro.org, linaro-dev@lists.linaro.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Mike Turquette , Jeremy Kerr , Thomas Gleixner , Arnd Bergman , Paul Walmsley , Shawn Guo , Sascha Hauer , Jamie Iles , Richard Zhao , Saravana Kannan , Magnus Damm , Rob Herring , Mark Brown , Linus Walleij , Stephen Boyd , Amit Kucheria , Deepak Saxena , Grant Likely , Andrew Lunn Subject: [PATCH] clk: Fix compile errors in DEFINE_CLK_GATE Message-ID: <20120304203359.GE11546@lunn.ch> References: <1330763341-3437-1-git-send-email-mturquette@linaro.org> <1330763341-3437-5-git-send-email-mturquette@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1330763341-3437-5-git-send-email-mturquette@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>From 71e9a676b2b2f0dc2bb0cc395e8325cf38f4808b Mon Sep 17 00:00:00 2001 From: Andrew Lunn Date: Sun, 4 Mar 2012 16:31:14 +0100 Subject: [PATCH] [clk] Fix compile errors in DEFINE_CLK_GATE() Signed-off-by: Andrew Lunn --- 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