Commit 669c256c authored by Alexander Usyskin's avatar Alexander Usyskin Committed by Greg Kroah-Hartman

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: default avatarAlexander Usyskin <alexander.usyskin@intel.com>
Signed-off-by: default avatarTomas Winkler <tomas.winkler@intel.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 29fe7d59
...@@ -756,7 +756,7 @@ static void mei_cl_wake_all(struct mei_cl *cl) ...@@ -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;
......
...@@ -208,7 +208,6 @@ static inline u8 mei_cl_host_addr(const struct mei_cl *cl) ...@@ -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,
......
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