From: Przemyslaw Marczak
Date: Mon, 10 Feb 2014 15:28:30 +0000 (+0100)
Subject: samsung: misc: check_keys(), key_pressed() - remove type static.
X-Git-Tag: submit/tizen_boot/20140403.091755~10
X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=039c4fb4f35b8f46fbbc6e3184860fef86b4b03c;p=platform%2Fkernel%2Fu-boot.git
samsung: misc: check_keys(), key_pressed() - remove type static.
This patch removes type "static" from those functions declaration.
Change-Id: I2244ca3568b73251401e5102f26cc113ea69c1a4
Signed-off-by: Przemyslaw Marczak
---
diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c
index 5b43821c4b..bb27045e50 100644
--- a/board/samsung/common/misc.c
+++ b/board/samsung/common/misc.c
@@ -15,7 +15,6 @@
#include
#include
#include
-#include
#include
#include
@@ -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;
diff --git a/include/samsung/misc.h b/include/samsung/misc.h
index 10653a1b17..1fb9e383e4 100644
--- a/include/samsung/misc.h
+++ b/include/samsung/misc.h
@@ -1,6 +1,8 @@
#ifndef __SAMSUNG_MISC_COMMON_H__
#define __SAMSUNG_MISC_COMMON_H__
+#include
+
#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 */