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>
Thu, 14 May 2015 12:42:56 +0000 (14:42 +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 1a77c820ae97f7604be995faa4a850b7943da230..ad3cbfb8d77c095937f894d1ab06446c8b296a70 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 0f957dc36750aa6a9a2411f750a3430d3ba0adbe..5a1f6ee774100fdb7a5f2bc0431cf78a36be04b9 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 */