From e41ec669e7b81b0dec67f47fad23bef483595b42 Mon Sep 17 00:00:00 2001
From: Przemyslaw Marczak
Date: Mon, 10 Feb 2014 16:28:30 +0100
Subject: [PATCH] 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
---
board/samsung/common/misc.c | 5 ++---
include/samsung/misc.h | 4 ++++
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/board/samsung/common/misc.c b/board/samsung/common/misc.c
index 8766f0ca06..993eee04a4 100644
--- a/board/samsung/common/misc.c
+++ b/board/samsung/common/misc.c
@@ -16,7 +16,6 @@
#include
#include
#include
-#include
#include
#include
@@ -121,7 +120,7 @@ static int power_key_pressed(u32 reg)
return !!(status & mask);
}
-static int key_pressed(int key)
+int key_pressed(int key)
{
int value;
@@ -143,7 +142,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 607e8d4922..fe2d2bd28d 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 */
--
2.34.1