From patchwork Sun Mar 4 20:33:59 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Andrew Lunn X-Patchwork-Id: 7082 Return-Path: X-Original-To: patchwork@peony.canonical.com Delivered-To: patchwork@peony.canonical.com Received: from fiordland.canonical.com (fiordland.canonical.com [91.189.94.145]) by peony.canonical.com (Postfix) with ESMTP id 9E9861E821B for ; Sun, 4 Mar 2012 20:34:13 +0000 (UTC) Received: from mail-iy0-f180.google.com (mail-iy0-f180.google.com [209.85.210.180]) by fiordland.canonical.com (Postfix) with ESMTP id 59BB7A18852 for ; Sun, 4 Mar 2012 20:34:13 +0000 (UTC) Received: by iage36 with SMTP id e36so6351189iag.11 for ; Sun, 04 Mar 2012 12:34:12 -0800 (PST) Received: from mr.google.com ([10.50.42.132]) by 10.50.42.132 with SMTP id o4mr4581676igl.58.1330893252818 (num_hops = 1); Sun, 04 Mar 2012 12:34:12 -0800 (PST) Received: by 10.50.42.132 with SMTP id o4mr3818067igl.58.1330893252752; Sun, 04 Mar 2012 12:34:12 -0800 (PST) X-Forwarded-To: linaro-patchwork@canonical.com X-Forwarded-For: patch@linaro.org linaro-patchwork@canonical.com Delivered-To: patches@linaro.org Received: by 10.231.53.18 with SMTP id k18csp11179ibg; Sun, 4 Mar 2012 12:34:11 -0800 (PST) Received: by 10.180.104.137 with SMTP id ge9mr8406552wib.20.1330893251369; Sun, 04 Mar 2012 12:34:11 -0800 (PST) Received: from londo.lunn.ch (londo.lunn.ch. [80.238.139.98]) by mx.google.com with ESMTP id z5si6970019wiw.8.2012.03.04.12.34.08; Sun, 04 Mar 2012 12:34:11 -0800 (PST) Received-SPF: pass (google.com: domain of andrew@lunn.ch designates 80.238.139.98 as permitted sender) client-ip=80.238.139.98; Authentication-Results: mx.google.com; spf=pass (google.com: domain of andrew@lunn.ch designates 80.238.139.98 as permitted sender) smtp.mail=andrew@lunn.ch Received: from lunn by londo.lunn.ch with local (Exim 3.36 #1 (Debian)) id 1S4I7z-0007zN-00; Sun, 04 Mar 2012 21:33:59 +0100 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-Disposition: inline In-Reply-To: <1330763341-3437-5-git-send-email-mturquette@linaro.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-Gm-Message-State: ALoCoQlP9vI6GzC6fki6rXQflMOoqv1Ycw5q1T9JpFHfO2RpkbxPhJsZ8aZNV5EdmnWkL1mKh1gx >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, \ };