Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;

+0 −1
Original line number Diff line number Diff line
@@ -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,