From: linux@arm.linux.org.uk (Russell King - ARM Linux)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] Consolidate clks_register() and similar
Date: Mon, 11 Jan 2010 17:28:25 +0000 [thread overview]
Message-ID: <20100111172825.GA7925@n2100.arm.linux.org.uk> (raw)
In-Reply-To: <BD79186B4FD85F4B8E60E381CAEE1909020898E7@mi8nycmail19.Mi8.com>
On Mon, Jan 11, 2010 at 12:26:12PM -0500, H Hartley Sweeten wrote:
> On Sunday, January 10, 2010 10:28 AM, Russell King wrote:
> > diff --git a/arch/arm/include/asm/clkdev.h b/arch/arm/include/asm/clkdev.h
> > index b6ec7c6..7a0690d 100644
> > --- a/arch/arm/include/asm/clkdev.h
> > +++ b/arch/arm/include/asm/clkdev.h
> > @@ -27,4 +27,7 @@ struct clk_lookup *clkdev_alloc(struct clk *clk, const char *con_id,
> > void clkdev_add(struct clk_lookup *cl);
> > void clkdev_drop(struct clk_lookup *cl);
> >
> > +void clkdev_add_table(struct clk_lookup *, size_t);
> > +int clk_add_alias(const char *, const char *, char *, struct device *);
>
> clk_add_alias does not seem to be related to this patch.
True, but it might as well get cleaned up along with the rest of this.
For some reason, the prototype was never moved there.
> > @@ -474,8 +473,7 @@ static int __init ep93xx_clock_init(void)
> > clk_f.rate / 1000000, clk_h.rate / 1000000,
> > clk_p.rate / 1000000);
> >
> > - for (i = 0; i < ARRAY_SIZE(clocks); i++)
> > - clkdev_add(&clocks[i]);
> > + clkdev_add_table(clocks, ARRAY_SIZE(clocks));
> > return 0;
> > }
> > arch_initcall(ep93xx_clock_init);
>
> For ep93xx.
>
> Acked-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Thanks.
next prev parent reply other threads:[~2010-01-11 17:28 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-10 17:28 [PATCH] Consolidate clks_register() and similar Russell King - ARM Linux
2010-01-10 22:23 ` Jeremy Kerr
2010-01-10 23:12 ` Russell King - ARM Linux
2010-01-11 1:04 ` Ben Dooks
2010-01-11 17:26 ` H Hartley Sweeten
2010-01-11 17:28 ` Russell King - ARM Linux [this message]
2010-01-11 22:06 ` Kevin Hilman
2010-01-12 12:17 ` Russell King - ARM Linux
2010-01-12 17:29 ` H Hartley Sweeten
2010-01-12 17:35 ` Russell King - ARM Linux
2010-01-12 17:43 ` H Hartley Sweeten
2010-01-12 18:57 ` Russell King - ARM Linux
2010-01-12 19:16 ` Kevin Hilman
2010-01-12 0:11 ` Eric Miao
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100111172825.GA7925@n2100.arm.linux.org.uk \
--to=linux@arm.linux.org.uk \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).