From: daniel@caiaq.de (Daniel Mack)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH - 3rd attempt] ARM: Support for Embedian MXM-8x10 eval kit
Date: Mon, 18 Jan 2010 22:51:24 +0100 [thread overview]
Message-ID: <20100118215124.GE8970@buzzloop.caiaq.de> (raw)
In-Reply-To: <201001182134.14226.epeer@tmtservices.co.za>
On Mon, Jan 18, 2010 at 09:34:14PM +0200, Edwin Peer wrote:
> I believe we have finally managed to address all your review points - third time's a charm. :)
>
> Here's the diffstat against 2.6.33-rc4:
One more thing that caught my eye.
[...]
> +void __init mxm_8x10_mmc_init(void)
> +{
> + pxa_set_mci_info(&mxm_8x10_mci_platform_data);
> +}
> +#else
> +inline void mxm_8x10_mmc_init(void)
> +{
> +}
You should make that inline function static.
[...]
> +void __init mxm_8x10_nand_init(void)
> +{
> + pxa3xx_set_nand_info(&mxm_8x10_nand_info);
> +}
> +#else
> +inline mxm_8x10_nand_init(void)
> +{
> +}
Same here, and it should return void. Without any return type, it will
default to int, which is not what you want. And as you're on it, you can
also put the whole thing in one line (but that's really nit-picking).
Daniel
next prev parent reply other threads:[~2010-01-18 21:51 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-18 19:34 [PATCH - 3rd attempt] ARM: Support for Embedian MXM-8x10 eval kit Edwin Peer
2010-01-18 21:51 ` Daniel Mack [this message]
2010-01-19 5:15 ` Hennie van der Merwe
2010-01-19 5:29 ` Eric Miao
2010-01-19 5:43 ` Hennie van der Merwe
2010-01-19 5:37 ` Edwin Peer
2010-01-19 5:48 ` Hennie van der Merwe
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=20100118215124.GE8970@buzzloop.caiaq.de \
--to=daniel@caiaq.de \
--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).