mirror of
https://github.com/torvalds/linux.git
synced 2024-12-16 16:12:52 +00:00
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:
parent
29fe7d59bd
commit
669c256cb9
@ -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;
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user