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>
This commit is contained in:
Alexander Usyskin 2017-01-20 02:17:17 +02:00 committed by Greg Kroah-Hartman
parent 29fe7d59bd
commit 669c256cb9
2 changed files with 1 additions and 2 deletions

View File

@ -756,7 +756,7 @@ static void mei_cl_wake_all(struct mei_cl *cl)
* *
* @cl: host client * @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; struct mei_device *dev = cl->dev;

View File

@ -208,7 +208,6 @@ static inline u8 mei_cl_host_addr(const struct mei_cl *cl)
} }
int mei_cl_disconnect(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, int mei_cl_irq_disconnect(struct mei_cl *cl, struct mei_cl_cb *cb,
struct mei_cl_cb *cmpl_list); struct mei_cl_cb *cmpl_list);
int mei_cl_connect(struct mei_cl *cl, struct mei_me_client *me_cl, int mei_cl_connect(struct mei_cl *cl, struct mei_me_client *me_cl,