From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Mundt Date: Wed, 06 Jul 2011 01:24:57 +0000 Subject: Re: [RFC][PATCH 1/8] sh: clock-sh7724: add CLKDEV_ICK_ID for cleanup Message-Id: <20110706012456.GD24169@linux-sh.org> List-Id: References: <87tyb0jjge.wl%kuninori.morimoto.gx@renesas.com> In-Reply-To: <87tyb0jjge.wl%kuninori.morimoto.gx@renesas.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-sh@vger.kernel.org On Tue, Jul 05, 2011 at 06:17:55PM -0700, Kuninori Morimoto wrote: > diff --git a/arch/sh/kernel/cpu/sh4a/clock-sh7724.c b/arch/sh/kernel/cpu/sh4a/clock-sh7724.c > index 77bcef5..0891876 100644 > --- a/arch/sh/kernel/cpu/sh4a/clock-sh7724.c > +++ b/arch/sh/kernel/cpu/sh4a/clock-sh7724.c > @@ -254,6 +254,7 @@ static struct clk mstp_clks[HWBLK_NR] = { > > #define CLKDEV_CON_ID(_id, _clk) { .con_id = _id, .clk = _clk } > #define CLKDEV_DEV_ID(_id, _clk) { .dev_id = _id, .clk = _clk } > +#define CLKDEV_ICK_ID(_cid, _did, _clk) { .con_id = _cid, .dev_id = _did, .clk = _clk } > > static struct clk_lookup lookups[] = { > /* main clocks */ Perhaps while we're at it, it would help to move these macros in to sh_clk.h.