diff options
author | Alexander Usyskin | 2017-01-20 02:17:17 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2017-01-20 14:41:57 +0100 |
commit | 669c256cb9fb29a540ce4befb4328d88c665e523 (patch) | |
tree | 23b8683f8d4b677e08843ed63e480afc51f7c3cc /drivers | |
parent | 29fe7d59bdd8cea561187fca155dbf5cee918bb8 (diff) |
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 <alexander.usyskin@intel.com>
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/misc/mei/client.c | 2 | ||||
-rw-r--r-- | drivers/misc/mei/client.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/misc/mei/client.c b/drivers/misc/mei/client.c index 3aaa86235fe0..da1c0703910a 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 dc80ad5c9fa2..ab92a542661b 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, |