From 669c256cb9fb29a540ce4befb4328d88c665e523 Mon Sep 17 00:00:00 2001 From: Alexander Usyskin Date: Fri, 20 Jan 2017 02:17:17 +0200 Subject: [PATCH] mei: make mei_cl_set_disconnected static mei_cl_set_disconnected is used only in client.c, so make it local to the file and mark static. Signed-off-by: Alexander Usyskin Signed-off-by: Tomas Winkler Signed-off-by: Greg Kroah-Hartman --- drivers/misc/mei/client.c | 2 +- drivers/misc/mei/client.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/misc/mei/client.c b/drivers/misc/mei/client.c index 3aaa862..da1c070 100644 --- a/drivers/misc/mei/client.c +++ b/drivers/misc/mei/client.c @@ -756,7 +756,7 @@ static void mei_cl_wake_all(struct mei_cl *cl) * * @cl: host client */ -void mei_cl_set_disconnected(struct mei_cl *cl) +static void mei_cl_set_disconnected(struct mei_cl *cl) { struct mei_device *dev = cl->dev; diff --git a/drivers/misc/mei/client.h b/drivers/misc/mei/client.h index dc80ad5..ab92a54 100644 --- a/drivers/misc/mei/client.h +++ b/drivers/misc/mei/client.h @@ -208,7 +208,6 @@ static inline u8 mei_cl_host_addr(const struct mei_cl *cl) } int mei_cl_disconnect(struct mei_cl *cl); -void mei_cl_set_disconnected(struct mei_cl *cl); int mei_cl_irq_disconnect(struct mei_cl *cl, struct mei_cl_cb *cb, struct mei_cl_cb *cmpl_list); int mei_cl_connect(struct mei_cl *cl, struct mei_me_client *me_cl, -- 2.7.4