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, 3 Apr 2014 07:54:04 +0000 (09:54 +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 5b43821c4b7604e074ae475da43e11fee10d8b1d..bb27045e504fc32eb62b754773bd611c59569d02 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 10653a1b1789ae63fa424ee9335e13ee7e0f166b..1fb9e383e4195cf9da2de6fe6da6ef15ddd56448 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 */