From: Sergio Aguirre <[email protected]>

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 <[email protected]>
---
 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: 0002-ARM-OMAP34xx-Fix-compilation-warning.patch
Description: 0002-ARM-OMAP34xx-Fix-compilation-warning.patch

Reply via email to