Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751976AbbEGBAV (ORCPT ); Wed, 6 May 2015 21:00:21 -0400 Received: from mail-wi0-f179.google.com ([209.85.212.179]:34133 "EHLO mail-wi0-f179.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751657AbbEGBAQ convert rfc822-to-8bit (ORCPT ); Wed, 6 May 2015 21:00:16 -0400 MIME-Version: 1.0 In-Reply-To: <554AB7E8.1040009@codeaurora.org> References: <1430959861-14925-1-git-send-email-mopsfelder@gmail.com> <1430959861-14925-3-git-send-email-mopsfelder@gmail.com> <554AB7E8.1040009@codeaurora.org> From: =?UTF-8?Q?Murilo_Opsfelder_Ara=C3=BAjo?= Date: Wed, 6 May 2015 21:59:34 -0300 Message-ID: Subject: Re: [PATCH 2/2] drivers: clk: clk.c: Make clk_is_orphan() dependent of CONFIG_OF To: Stephen Boyd Cc: Linux Kernel Mailing List , linux-clk , Mike Turquette Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 998 Lines: 28 On Wed, May 6, 2015 at 9:55 PM, Stephen Boyd wrote: > On 05/06/15 17:51, Murilo Opsfelder Araujo wrote: >> The function clk_is_orphan() is called only by >> __of_clk_get_from_provider(), which depends on CONFIG_OF, so it does >> make sense the move. >> >> This change also gets rid of the following build message when CONFIG_OF >> is not set: >> >> drivers/clk/clk.c:2231:13: warning: ‘clk_is_orphan’ defined but not used [-Wunused-function] >> >> Signed-off-by: Murilo Opsfelder Araujo > > The patch that introduces this problem is gone now. > Nice to know it is gone. I'm using next-20150506 which still contains that. Probably the fix will land a next -next release. Thanks, Stephen. -- Murilo -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/