samsung: misc: check_keys(), key_pressed() - remove type static.
authorPrzemyslaw Marczak <p.marczak@samsung.com>
Mon, 10 Feb 2014 15:28:30 +0000 (16:28 +0100)
committerPrzemyslaw Marczak <p.marczak@samsung.com>
Fri, 25 Apr 2014 09:28:17 +0000 (11:28 +0200)
This patch removes type "static" from those functions declaration.

Change-Id: I2244ca3568b73251401e5102f26cc113ea69c1a4
Signed-off-by: Przemyslaw Marczak <p.marczak@samsung.com>
board/samsung/common/misc.c
include/samsung/misc.h

index c0d8866..ba47fac 100644 (file)
@@ -15,7 +15,6 @@
 #include <asm/arch/cpu.h>
 #include <asm/arch/gpio.h>
 #include <asm/gpio.h>
-#include <linux/input.h>
 #include <power/pmic.h>
 #include <mmc.h>
 
@@ -72,7 +71,7 @@ static int power_key_pressed(u32 reg)
        return !!(status & mask);
 }
 
-static int key_pressed(int key)
+int key_pressed(int key)
 {
        int value;
 
@@ -94,7 +93,7 @@ static int key_pressed(int key)
        return value;
 }
 
-static int check_keys(void)
+int check_keys(void)
 {
        int keys = 0;
 
index 10653a1..1fb9e38 100644 (file)
@@ -1,6 +1,8 @@
 #ifndef __SAMSUNG_MISC_COMMON_H__
 #define __SAMSUNG_MISC_COMMON_H__
 
+#include <linux/input.h>
+
 #ifdef CONFIG_REVISION_TAG
 u32 get_board_rev(void);
 #endif
@@ -21,6 +23,8 @@ enum {
 };
 
 void keys_init(void);
+int check_keys(void);
+int key_pressed(int key);
 void check_boot_mode(void);
 #endif /* CONFIG_LCD_MENU */