From: Tony Lindgren <tony@atomide.com>
To: Sanjeev Premi <premi@ti.com>
Cc: linux-omap@vger.kernel.org
Subject: Re: [PATCH] Fix compile-time warning
Date: Wed, 20 Aug 2008 15:30:48 +0300 [thread overview]
Message-ID: <20080820123047.GK29374@atomide.com> (raw)
In-Reply-To: <1219170601-23337-1-git-send-email-premi@ti.com>
* Sanjeev Premi <premi@ti.com> [080819 21:32]:
> Fixes this warning:
> CC arch/arm/mach-omap2/board-omap3evm-flash.o
> arch/arm/mach-omap2/board-omap3evm-flash.c:61: warning: initialization from incompatible pointer type
Pushing today.
Tony
> Signed-off-by: Sanjeev Premi <premi@ti.com>
> ---
> arch/arm/mach-omap2/board-omap3evm-flash.c | 6 +++---
> 1 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/board-omap3evm-flash.c b/arch/arm/mach-omap2/board-omap3evm-flash.c
> index 0aa8ef2..5f3663d 100644
> --- a/arch/arm/mach-omap2/board-omap3evm-flash.c
> +++ b/arch/arm/mach-omap2/board-omap3evm-flash.c
> @@ -23,7 +23,7 @@
> #include <mach/gpmc.h>
> #include <mach/nand.h>
>
> -static int omap3evm_onenand_setup(void __iomem *);
> +static int omap3evm_onenand_setup(void __iomem *, int freq);
>
> static struct mtd_partition omap3evm_onenand_partitions[] = {
> {
> @@ -76,8 +76,8 @@ static struct platform_device omap3evm_onenand_device = {
> *
> */
>
> -static int omap3evm_onenand_setup(void __iomem *onenand_base)
> - {
> +static int omap3evm_onenand_setup(void __iomem *onenand_base, int freq)
> +{
> /* nothing is required to be setup for onenand as of now */
> return 0;
> }
> --
> 1.5.6
>
> --
> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2008-08-20 12:31 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-19 18:30 [PATCH] Fix compile-time warning Sanjeev Premi
2008-08-20 12:30 ` Tony Lindgren [this message]
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=20080820123047.GK29374@atomide.com \
--to=tony@atomide.com \
--cc=linux-omap@vger.kernel.org \
--cc=premi@ti.com \
/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