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)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Thu, 15 Jan 2015 06:35:38 +0000 (15:35 +0900)
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 4538ac7f2a2fc2d2a91f840944d13ec542e35e11..aa7fc205656b6b249db72db1d2586e7730d298bb 100644 (file)
@@ -15,7 +15,6 @@
 #include <linux/sizes.h>
 #include <asm/arch/cpu.h>
 #include <asm/gpio.h>
-#include <linux/input.h>
 #include <power/pmic.h>
 #include <mmc.h>
 
@@ -120,7 +119,7 @@ static int power_key_pressed(u32 reg)
        return !!(status & mask);
 }
 
-static int key_pressed(int key)
+int key_pressed(int key)
 {
        int value;
 
@@ -142,7 +141,7 @@ static int key_pressed(int key)
        return value;
 }
 
-static int check_keys(void)
+int check_keys(void)
 {
        int keys = 0;
 
index 607e8d49223b909f549ed5e3c8fc5083126280bb..fe2d2bd28d8507f544a8c016a81941d2597b34b6 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 */