Commit 0486dc1e authored by Adrian Bunk's avatar Adrian Bunk Committed by Dmitry Torokhov

Input: hil_mlc.c - make code static

Signed-off-by: default avatarAdrian Bunk <bunk@kernel.org>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent a8944037
...@@ -76,7 +76,7 @@ static struct timer_list hil_mlcs_kicker; ...@@ -76,7 +76,7 @@ static struct timer_list hil_mlcs_kicker;
static int hil_mlcs_probe; static int hil_mlcs_probe;
static void hil_mlcs_process(unsigned long unused); static void hil_mlcs_process(unsigned long unused);
DECLARE_TASKLET_DISABLED(hil_mlcs_tasklet, hil_mlcs_process, 0); static DECLARE_TASKLET_DISABLED(hil_mlcs_tasklet, hil_mlcs_process, 0);
/* #define HIL_MLC_DEBUG */ /* #define HIL_MLC_DEBUG */
...@@ -459,7 +459,7 @@ static int hilse_operate(hil_mlc *mlc, int repoll) ...@@ -459,7 +459,7 @@ static int hilse_operate(hil_mlc *mlc, int repoll)
#define OUT_LAST(pack) \ #define OUT_LAST(pack) \
{ HILSE_OUT_LAST, { .packet = pack }, 0, 0, 0, 0 }, { HILSE_OUT_LAST, { .packet = pack }, 0, 0, 0, 0 },
const struct hilse_node hil_mlc_se[HILSEN_END] = { static const struct hilse_node hil_mlc_se[HILSEN_END] = {
/* 0 HILSEN_START */ /* 0 HILSEN_START */
FUNC(hilse_init_lcv, 0, HILSEN_NEXT, HILSEN_SLEEP, 0) FUNC(hilse_init_lcv, 0, HILSEN_NEXT, HILSEN_SLEEP, 0)
...@@ -784,7 +784,7 @@ static void hil_mlcs_process(unsigned long unused) ...@@ -784,7 +784,7 @@ static void hil_mlcs_process(unsigned long unused)
/************************* Keepalive timer task *********************/ /************************* Keepalive timer task *********************/
void hil_mlcs_timer(unsigned long data) static void hil_mlcs_timer(unsigned long data)
{ {
hil_mlcs_probe = 1; hil_mlcs_probe = 1;
tasklet_schedule(&hil_mlcs_tasklet); tasklet_schedule(&hil_mlcs_tasklet);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment