* [PATCH] Fix compile-time warning
@ 2008-08-19 18:30 Sanjeev Premi
2008-08-20 12:30 ` Tony Lindgren
0 siblings, 1 reply; 2+ messages in thread
From: Sanjeev Premi @ 2008-08-19 18:30 UTC (permalink / raw)
To: linux-omap; +Cc: Sanjeev Premi
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
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Fix compile-time warning
2008-08-19 18:30 [PATCH] Fix compile-time warning Sanjeev Premi
@ 2008-08-20 12:30 ` Tony Lindgren
0 siblings, 0 replies; 2+ messages in thread
From: Tony Lindgren @ 2008-08-20 12:30 UTC (permalink / raw)
To: Sanjeev Premi; +Cc: linux-omap
* 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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-08-20 12:31 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-08-19 18:30 [PATCH] Fix compile-time warning Sanjeev Premi
2008-08-20 12:30 ` Tony Lindgren
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox