linux-mips
[Top] [All Lists]

Re: [PATCH 1/4] MIPS: AR7: add select HAVE_CLK

To: linux-mips@linux-mips.org
Subject: Re: [PATCH 1/4] MIPS: AR7: add select HAVE_CLK
From: Florian Fainelli <florian@openwrt.org>
Date: Wed, 01 Aug 2012 11:27:02 +0200
Cc: Yoichi Yuasa <yuasa@linux-mips.org>, ralf@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:organization:user-agent :in-reply-to:references:mime-version:content-transfer-encoding :content-type; bh=Oaiek5evV6IlSGiHIRqDK4FeOShLYSFNXg4FE6aQFOs=; b=RP7PTZpMyXm/+q6oOUMdVdI2VINiS/c3t/wwtewz3xGg/oFK/rZKyM3iCVVtTaYDE8 uZUg8GsResnXgs3MKnC1qgM1kHN3AVu5JA5BjmXAM9T2pXMkASAjZlaWp4XbR6L1MI1e IeoyjIjQT7Geoo7i9Rem2spIFqvDkN9YT/SjRlHvTFqf7AknzCTap+AqdUIa+E+8NcDr L27l57Eo1ZN3lamEPJgsio4/Ro1b8ciWR0/88M9uFLDGlQoV8GdfmjJzRGqRUIOyfi02 okWyta50dR7c9qZxpgkKDTlwH6RP9hLRLLJhXi3TjvEmeTCaLhEAGAMXgwr3SXwrLttz bQYg==
In-reply-to: <20120801153800.22d81b6d674d6722b2392574@linux-mips.org>
List-archive: <http://www.linux-mips.org/archives/linux-mips/>
List-help: <mailto:ecartis@linux-mips.org?Subject=help>
List-id: linux-mips <linux-mips.eddie.linux-mips.org>
List-owner: <mailto:ralf@linux-mips.org>
List-post: <mailto:linux-mips@linux-mips.org>
List-software: Ecartis version 1.0.0
List-subscribe: <mailto:ecartis@linux-mips.org?subject=subscribe%20linux-mips>
List-unsubscribe: <mailto:ecartis@linux-mips.org?subject=unsubscribe%20linux-mips>
Organization: OpenWrt
References: <20120801153800.22d81b6d674d6722b2392574@linux-mips.org>
Sender: linux-mips-bounce@linux-mips.org
User-agent: KMail/4.8.4 (Linux/3.2.0-24-generic; KDE/4.8.4; x86_64; ; )
On Wednesday 01 August 2012 15:38:00 Yoichi Yuasa wrote:
> fix redefinition of clk_*
> 
> arch/mips/ar7/clock.c:420:5: error: redefinition of 'clk_enable'
> include/linux/clk.h:295:19: note: previous definition of 'clk_enable' was 
here
> arch/mips/ar7/clock.c:426:6: error: redefinition of 'clk_disable'
> include/linux/clk.h:300:20: note: previous definition of 'clk_disable' was 
here
> arch/mips/ar7/clock.c:431:15: error: redefinition of 'clk_get_rate'
> include/linux/clk.h:302:29: note: previous definition of 'clk_get_rate' was 
here
> arch/mips/ar7/clock.c:437:13: error: redefinition of 'clk_get'
> include/linux/clk.h:281:27: note: previous definition of 'clk_get' was here
> arch/mips/ar7/clock.c:454:6: error: redefinition of 'clk_put'
> include/linux/clk.h:291:20: note: previous definition of 'clk_put' was here
> make[2]: *** [arch/mips/ar7/clock.o] Error 1
> 
> Signed-off-by: Yoichi Yuasa <yuasa@linux-mips.org>

Acked-by: Florian Fainelli <florian@openwrt.org>

> ---
>  arch/mips/Kconfig |    1 +
>  1 files changed, 1 insertions(+), 0 deletions(-)
> 
> diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
> index 7e78a83..50fc7a1 100644
> --- a/arch/mips/Kconfig
> +++ b/arch/mips/Kconfig
> @@ -78,6 +78,7 @@ config AR7
>       select SYS_SUPPORTS_ZBOOT_UART16550
>       select ARCH_REQUIRE_GPIOLIB
>       select VLYNQ
> +     select HAVE_CLK
>       help
>         Support for the Texas Instruments AR7 System-on-a-Chip
>         family: TNETD7100, 7200 and 7300.
> -- 
> 1.7.0.4
> 
> 

<Prev in Thread] Current Thread [Next in Thread>