From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 27 Jul 2015 13:26:48 -0700 From: Stephen Boyd To: Maxime Ripard Subject: Re: [PATCH 7/7] clk: sunxi: Add a simple gates driver Message-ID: <20150727202648.GB14521@codeaurora.org> References: <1437945270-32014-1-git-send-email-maxime.ripard@free-electrons.com> <1437945270-32014-8-git-send-email-maxime.ripard@free-electrons.com> MIME-Version: 1.0 In-Reply-To: <1437945270-32014-8-git-send-email-maxime.ripard@free-electrons.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Mike Turquette , Chen-Yu Tsai , linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+mturquette=linaro.org@lists.infradead.org List-ID: On 07/26, Maxime Ripard wrote: > diff --git a/drivers/clk/sunxi/clk-simple-gates.c b/drivers/clk/sunxi/clk-simple-gates.c > new file mode 100644 > index 000000000000..1a3963a8a686 > --- /dev/null > +++ b/drivers/clk/sunxi/clk-simple-gates.c > @@ -0,0 +1,159 @@ > +/* > + * Copyright 2015 Maxime Ripard > + * > + * Maxime Ripard > + * > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License as published by > + * the Free Software Foundation; either version 2 of the License, or > + * (at your option) any later version. > + * > + * This program is distributed in the hope that it will be useful, > + * but WITHOUT ANY WARRANTY; without even the implied warranty of > + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the > + * GNU General Public License for more details. > + */ > + > +#include > +#include Is this used? > +#include > +#include > +#include Is this used? > +#include > +#include Is this used? > + > +static DEFINE_SPINLOCK(gates_lock); > + [...] > + > +static const int sun4i_a10_ahb_critical_clocks[] __initdata = { Shouldn't it be __initconst ? > + 14, /* ahb_sdram */ > +}; > + -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, a Linux Foundation Collaborative Project _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel