diff options
Diffstat (limited to 'drivers/misc/mei/client.h')
-rw-r--r-- | drivers/misc/mei/client.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/drivers/misc/mei/client.h b/drivers/misc/mei/client.h index 892cc4207fa2..c8396e582f1c 100644 --- a/drivers/misc/mei/client.h +++ b/drivers/misc/mei/client.h | |||
@@ -115,4 +115,13 @@ void mei_cl_all_disconnect(struct mei_device *dev); | |||
115 | void mei_cl_all_wakeup(struct mei_device *dev); | 115 | void mei_cl_all_wakeup(struct mei_device *dev); |
116 | void mei_cl_all_write_clear(struct mei_device *dev); | 116 | void mei_cl_all_write_clear(struct mei_device *dev); |
117 | 117 | ||
118 | #define MEI_CL_FMT "cl:host=%02d me=%02d " | ||
119 | #define MEI_CL_PRM(cl) (cl)->host_client_id, (cl)->me_client_id | ||
120 | |||
121 | #define cl_dbg(dev, cl, format, arg...) \ | ||
122 | dev_dbg(&(dev)->pdev->dev, MEI_CL_FMT format, MEI_CL_PRM(cl), ##arg) | ||
123 | |||
124 | #define cl_err(dev, cl, format, arg...) \ | ||
125 | dev_err(&(dev)->pdev->dev, MEI_CL_FMT format, MEI_CL_PRM(cl), ##arg) | ||
126 | |||
118 | #endif /* _MEI_CLIENT_H_ */ | 127 | #endif /* _MEI_CLIENT_H_ */ |