linux-mips
[Top] [All Lists]

Re: [PATCH 1/2] MIPS: lantiq: adds missing clk.h functions

To: John Crispin <blogic@openwrt.org>
Subject: Re: [PATCH 1/2] MIPS: lantiq: adds missing clk.h functions
From: Manuel Lauss <manuel.lauss@googlemail.com>
Date: Thu, 9 Jun 2011 20:06:05 +0200
Cc: Ralf Baechle <ralf@linux-mips.org>, linux-mips@linux-mips.org
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Erq7HINOQZYCI4yUaCpPjD8IV7J4CA8/HNlON0lwrJI=; b=dIUHQxleNc9RVoaX0ET3iomnw8rRqmBAJsL1ODLH55Y1Ax5y1nS6GbKcFRzcAeHV/F fKmPLokVRvZijuRfvn4sl1HGBaLJDsfX0mh9LBT00DIYO9cM7kuJfybRCEwrpPbOO3Q6 YDAX+/gZ2xj1sEAogk2h9OxW/cYFFhFw5/FmM=
Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=eO9akhI+CQVkrbR9OM7oiVDY4WXZXT1+HsTAzFCx0bgQqk6CKS53XFqC9NRaNdJg8k zgtp9qT7wWgD/JND0lnzvVk+mdNEhC6hggsn+1/bxalZZ7xpg7s8dySTj9KTlHlpMdOE mzzPZr0Iea9Zi7EcVc8181MTZrJSL8qBsgMmc=
In-reply-to: <1307642253-8770-1-git-send-email-blogic@openwrt.org>
References: <1307642253-8770-1-git-send-email-blogic@openwrt.org>
Sender: linux-mips-bounce@linux-mips.org
On Thu, Jun 9, 2011 at 7:57 PM, John Crispin <blogic@openwrt.org> wrote:
> The 2 functions clk_enable() and clk_disable were missing.
>
> Signed-of-by: John Crispin <blogic@openwrt.org>
> Cc: linux-mips@linux-mips.org
> ---
>  arch/mips/lantiq/clk.c |   11 +++++++++++
>  1 files changed, 11 insertions(+), 0 deletions(-)
>
> diff --git a/arch/mips/lantiq/clk.c b/arch/mips/lantiq/clk.c
> index 9456089..aba91db 100644
> --- a/arch/mips/lantiq/clk.c
> +++ b/arch/mips/lantiq/clk.c
> @@ -100,6 +100,17 @@ void clk_put(struct clk *clk)
>  }
>  EXPORT_SYMBOL(clk_put);
>
> +int clk_enable(struct clk *clk)
> +{
> +       /* not used */
> +       return 0;
> +}
> +
> +void clk_disable(struct clk *clk)
> +{
> +       /* not used */
> +}
> +

Shouldn't those be exported as well?

Manuel

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