Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752495Ab2KFDgW (ORCPT ); Mon, 5 Nov 2012 22:36:22 -0500 Received: from mail-vc0-f174.google.com ([209.85.220.174]:33527 "EHLO mail-vc0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751175Ab2KFDgV (ORCPT ); Mon, 5 Nov 2012 22:36:21 -0500 MIME-Version: 1.0 In-Reply-To: <1352169260.2625.4.camel@phoenix> References: <1352169260.2625.4.camel@phoenix> Date: Tue, 6 Nov 2012 09:06:18 +0530 X-Google-Sender-Auth: 0N3lOuMZR0iI_PAdjqUQRzEEofY Message-ID: Subject: Re: [PATCH] clk: spear: Add stub functions for spear3[0|1|2]0_clk_init() From: viresh kumar To: Axel Lin Cc: Mike Turquette , Arnd Bergmann , spear-devel@list.st.com, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1270 Lines: 23 On Tue, Nov 6, 2012 at 8:04 AM, Axel Lin wrote: > This fixes compile error if one of SPEAr3xx implementations is not selected. > > CC drivers/clk/spear/spear3xx_clock.o > drivers/clk/spear/spear3xx_clock.c: In function 'spear3xx_clk_init': > drivers/clk/spear/spear3xx_clock.c:599:3: error: implicit declaration of function 'spear300_clk_init' [-Werror=implicit-function-declaration] > drivers/clk/spear/spear3xx_clock.c:601:3: error: implicit declaration of function 'spear310_clk_init' [-Werror=implicit-function-declaration] > drivers/clk/spear/spear3xx_clock.c:603:3: error: implicit declaration of function 'spear320_clk_init' [-Werror=implicit-function-declaration] > cc1: some warnings being treated as errors > make[3]: *** [drivers/clk/spear/spear3xx_clock.o] Error 1 > make[2]: *** [drivers/clk/spear] Error 2 > make[1]: *** [drivers/clk] Error 2 > make: *** [drivers] Error 2 > > Signed-off-by: Axel Lin Thanks.. Acked-by: Viresh Kumar -- 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/