diff mbox

[PM] ARM: OMAP34xx: Fix compilation warning

Message ID A24693684029E5489D1D202277BE89444A81FBB9@dlee02.ent.ti.com (mailing list archive)
State Accepted
Delegated to: Kevin Hilman
Headers show

Commit Message

Aguirre Rodriguez, Sergio Alberto Aug. 17, 2009, 2:46 p.m. UTC
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(-)

Comments

Kevin Hilman Aug. 18, 2009, 9:13 a.m. UTC | #1
"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
--
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
diff mbox

Patch

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.