* [PATCH][PM] ARM: OMAP34xx: Fix compilation warning
@ 2009-08-17 14:46 Aguirre Rodriguez, Sergio Alberto
2009-08-18 9:13 ` Kevin Hilman
0 siblings, 1 reply; 2+ messages in thread
From: Aguirre Rodriguez, Sergio Alberto @ 2009-08-17 14:46 UTC (permalink / raw)
To: linux-omap@vger.kernel.org; +Cc: Nayak, Rajendra, Kevin Hilman
[-- Attachment #1: Type: text/plain, Size: 1080 bytes --]
From: Sergio Aguirre <saaguirre@ti.com>
This fixes the following compilation warnings:
In file included from arch/arm/mach-omap2/resource34xx.c:26:
arch/arm/mach-omap2/resource34xx.h:32: warning: function declaration isn't a prototype
arch/arm/mach-omap2/resource34xx.h:33: warning: function declaration isn't a prototype
Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
---
arch/arm/mach-omap2/resource34xx.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/resource34xx.h b/arch/arm/mach-omap2/resource34xx.h
index 5b5618a..3c70eef 100644
--- a/arch/arm/mach-omap2/resource34xx.h
+++ b/arch/arm/mach-omap2/resource34xx.h
@@ -29,8 +29,8 @@
#include <mach/omap34xx.h>
extern int sr_voltagescale_vcbypass(u32 t_opp, u32 c_opp, u8 t_vsel, u8 c_vsel);
-extern void lock_scratchpad_sem();
-extern void unlock_scratchpad_sem();
+extern void lock_scratchpad_sem(void);
+extern void unlock_scratchpad_sem(void);
/*
* mpu_latency/core_latency are used to control the cpuidle C state.
--
1.6.3.2
[-- Attachment #2: 0002-ARM-OMAP34xx-Fix-compilation-warning.patch --]
[-- Type: application/octet-stream, Size: 1214 bytes --]
From f958ccc2d21d988b35a8ca2c5a28ceef666f255e Mon Sep 17 00:00:00 2001
From: Sergio Aguirre <saaguirre@ti.com>
Date: Wed, 12 Aug 2009 12:53:26 -0500
Subject: [PATCH] ARM: OMAP34xx: Fix compilation warning
This fixes the following compilation warnings:
In file included from arch/arm/mach-omap2/resource34xx.c:26:
arch/arm/mach-omap2/resource34xx.h:32: warning: function declaration isn't a prototype
arch/arm/mach-omap2/resource34xx.h:33: warning: function declaration isn't a prototype
Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
---
arch/arm/mach-omap2/resource34xx.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch/arm/mach-omap2/resource34xx.h b/arch/arm/mach-omap2/resource34xx.h
index 5b5618a..3c70eef 100644
--- a/arch/arm/mach-omap2/resource34xx.h
+++ b/arch/arm/mach-omap2/resource34xx.h
@@ -29,8 +29,8 @@
#include <mach/omap34xx.h>
extern int sr_voltagescale_vcbypass(u32 t_opp, u32 c_opp, u8 t_vsel, u8 c_vsel);
-extern void lock_scratchpad_sem();
-extern void unlock_scratchpad_sem();
+extern void lock_scratchpad_sem(void);
+extern void unlock_scratchpad_sem(void);
/*
* mpu_latency/core_latency are used to control the cpuidle C state.
--
1.6.3.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH][PM] ARM: OMAP34xx: Fix compilation warning
2009-08-17 14:46 [PATCH][PM] ARM: OMAP34xx: Fix compilation warning Aguirre Rodriguez, Sergio Alberto
@ 2009-08-18 9:13 ` Kevin Hilman
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Hilman @ 2009-08-18 9:13 UTC (permalink / raw)
To: Aguirre Rodriguez, Sergio Alberto
Cc: linux-omap@vger.kernel.org, Nayak, Rajendra
"Aguirre Rodriguez, Sergio Alberto" <saaguirre@ti.com> writes:
> From: Sergio Aguirre <saaguirre@ti.com>
>
> This fixes the following compilation warnings:
>
> In file included from arch/arm/mach-omap2/resource34xx.c:26:
> arch/arm/mach-omap2/resource34xx.h:32: warning: function declaration isn't a prototype
> arch/arm/mach-omap2/resource34xx.h:33: warning: function declaration isn't a prototype
>
> Signed-off-by: Sergio Aguirre <saaguirre@ti.com>
Thanks, will pull into PM branch and fold into original patch which
introduced these functions.
Kevin
> ---
> arch/arm/mach-omap2/resource34xx.h | 4 ++--
> 1 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/resource34xx.h b/arch/arm/mach-omap2/resource34xx.h
> index 5b5618a..3c70eef 100644
> --- a/arch/arm/mach-omap2/resource34xx.h
> +++ b/arch/arm/mach-omap2/resource34xx.h
> @@ -29,8 +29,8 @@
> #include <mach/omap34xx.h>
>
> extern int sr_voltagescale_vcbypass(u32 t_opp, u32 c_opp, u8 t_vsel, u8 c_vsel);
> -extern void lock_scratchpad_sem();
> -extern void unlock_scratchpad_sem();
> +extern void lock_scratchpad_sem(void);
> +extern void unlock_scratchpad_sem(void);
>
> /*
> * mpu_latency/core_latency are used to control the cpuidle C state.
> --
> 1.6.3.2
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-08-18 9:13 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-17 14:46 [PATCH][PM] ARM: OMAP34xx: Fix compilation warning Aguirre Rodriguez, Sergio Alberto
2009-08-18 9:13 ` Kevin Hilman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox