From patchwork Thu Nov 15 17:07:00 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Igor Mazanov X-Patchwork-Id: 1750941 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork1.kernel.org (Postfix) with ESMTP id BBAB93FCA5 for ; Thu, 15 Nov 2012 17:08:43 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1TZ2tl-0000ak-B9; Thu, 15 Nov 2012 17:06:41 +0000 Received: from mail-la0-f49.google.com ([209.85.215.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1TZ2tg-0000ZG-FQ for linux-arm-kernel@lists.infradead.org; Thu, 15 Nov 2012 17:06:37 +0000 Received: by mail-la0-f49.google.com with SMTP id r15so1338336lag.36 for ; Thu, 15 Nov 2012 09:06:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:reply-to:user-agent:mime-version:to:cc:subject :content-type:content-transfer-encoding; bh=isaZ+lGNplnopgR5VQtW9aRh6Yn3DnkCu1rd8+aORL0=; b=jWdWlhxnstrhg9PQaV7B5kWSipZdClP5nZidl4uX9W26wOTvct2RL9KrcDXFrzWtRj tILE+thYCeqLll71CR4imRszgswS5pk52aWVGtiKH7tS8siFU6bqARWf/YXhwkK5qPfb 8i5Pww0d2rlvwuwiJvFwrn2lJTQnD21BlSRR0jnRD+68jvit1OH0HW9x1/SP920Ss2Jv 5A9qof8WrQKI+rAhF8DdgqXr3BaVa/WSOwqPL+177Sv6nA5+3Y3ne+222zwQVE0l9GEY 1LFAweEAHu5BWU4DsFoSRcz+SrALxM3kxNXV7tI32PXjAYPbgVLT1rs8OPcbr1r74+gH nlPA== Received: by 10.112.13.173 with SMTP id i13mr863184lbc.108.1352999193632; Thu, 15 Nov 2012 09:06:33 -0800 (PST) Received: from [192.168.0.30] ([77.232.56.122]) by mx.google.com with ESMTPS id sj3sm6491217lab.2.2012.11.15.09.06.30 (version=SSLv3 cipher=OTHER); Thu, 15 Nov 2012 09:06:31 -0800 (PST) Message-ID: <50A52134.2010502@gmail.com> Date: Thu, 15 Nov 2012 21:07:00 +0400 From: Igor Mazanov User-Agent: Thunderbird 2.0.0.12 (X11/20080213) MIME-Version: 1.0 To: linux-omap@vger.kernel.org Subject: [PATCH] Remove inline from clock framework function definitions to build the kernel with GCC 4.7 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20121115_120636_696621_47A91F0A X-CRM114-Status: GOOD ( 11.42 ) X-Spam-Score: -2.7 (--) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (-2.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.215.49 listed in list.dnswl.org] 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (i.mazanov[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: tony@atomide.com, Paul Walmsley , linux@arm.linux.org.uk, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: i.mazanov@gmail.com List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Remove inline from clock framework function definitions to build the kernel with GCC 4.7 Signed-off-by: Igor Mazanov Acked-by: Paul Walmsley --- include/linux/clk-provider.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) -- 1.7.4.4 diff --git a/include/linux/clk-provider.h b/include/linux/clk-provider.h index c127315..f9f5e9e 100644 --- a/include/linux/clk-provider.h +++ b/include/linux/clk-provider.h @@ -335,8 +335,8 @@ const char *__clk_get_name(struct clk *clk); struct clk_hw *__clk_get_hw(struct clk *clk); u8 __clk_get_num_parents(struct clk *clk); struct clk *__clk_get_parent(struct clk *clk); -inline int __clk_get_enable_count(struct clk *clk); -inline int __clk_get_prepare_count(struct clk *clk); +int __clk_get_enable_count(struct clk *clk); +int __clk_get_prepare_count(struct clk *clk); unsigned long __clk_get_rate(struct clk *clk); unsigned long __clk_get_flags(struct clk *clk); int __clk_is_enabled(struct clk *clk);