summaryrefslogtreecommitdiff
path: root/board
diff options
context:
space:
mode:
authorPrzemyslaw Marczak <p.marczak@samsung.com>2014-02-10 16:28:30 +0100
committerPrzemyslaw Marczak <p.marczak@samsung.com>2015-05-14 14:42:56 +0200
commit0f4d64d9009266d0673d7815a418a20d5ff34ccd (patch)
tree3695bb1a248138a40ac32e639c37d6e8ff2dae58 /board
parent7a8465f7d5b2f8d78385281276c7611141f9cc36 (diff)
downloadu-boot-0f4d64d9009266d0673d7815a418a20d5ff34ccd.tar.gz
u-boot-0f4d64d9009266d0673d7815a418a20d5ff34ccd.tar.bz2
u-boot-0f4d64d9009266d0673d7815a418a20d5ff34ccd.zip
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 <p.marczak@samsung.com>
Diffstat (limited to 'board')
-rw-r--r--board/samsung/common/misc.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c
index 1a77c820ae..ad3cbfb8d7 100644
--- a/board/samsung/common/misc.c
+++ b/board/samsung/common/misc.c
@@ -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;