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/20201110.005738~389 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14c54a58b0b8c6b078283cfa353001cb5a4ced71;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 837463ba78..ac5ec5a61c 100644 --- a/board/samsung/common/misc.c +++ b/board/samsung/common/misc.c @@ -18,7 +18,6 @@ #include #include #include -#include #include /* * Use #ifdef to work around conflicting headers while we wait for this to be @@ -144,7 +143,7 @@ static int power_key_pressed(u32 reg) #endif } -static int key_pressed(int key) +int key_pressed(int key) { int value; @@ -167,7 +166,7 @@ static int key_pressed(int key) } #ifdef CONFIG_LCD -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 4ff28a1df0..61f7876927 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 */